Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
42a4de09
Kaydet (Commit)
42a4de09
authored
Ock 04, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl/win boost::unordered_map->std::unordered_map
Change-Id: I27ac26250c1994e6254b2e662559ce5782b29a73
üst
dfeb898b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
salinfo.cxx
vcl/win/source/app/salinfo.cxx
+3
-3
winlayout.cxx
vcl/win/source/gdi/winlayout.cxx
+2
-2
No files found.
vcl/win/source/app/salinfo.cxx
Dosyayı görüntüle @
42a4de09
...
...
@@ -31,7 +31,7 @@
#include "svdata.hxx"
#include <
boost/unordered_map.hp
p>
#include <
unordered_ma
p>
SalSystem
*
WinSalInstance
::
CreateSalSystem
()
{
...
...
@@ -105,7 +105,7 @@ bool WinSalSystem::initMonitors()
DISPLAY_DEVICEW
aDev
;
aDev
.
cb
=
sizeof
(
aDev
);
DWORD
nDevice
=
0
;
boost
::
unordered_map
<
OUString
,
int
,
OUStringHash
>
aDeviceStringCount
;
std
::
unordered_map
<
OUString
,
int
,
OUStringHash
>
aDeviceStringCount
;
while
(
EnumDisplayDevicesW
(
NULL
,
nDevice
++
,
&
aDev
,
0
)
)
{
if
(
(
aDev
.
StateFlags
&
DISPLAY_DEVICE_ACTIVE
)
...
...
@@ -130,7 +130,7 @@ bool WinSalSystem::initMonitors()
EnumDisplayMonitors
(
aDesktopRC
,
NULL
,
ImplEnumMonitorProc
,
reinterpret_cast
<
LPARAM
>
(
this
)
);
// append monitor numbers to name strings
boost
::
unordered_map
<
OUString
,
int
,
OUStringHash
>
aDevCount
(
aDeviceStringCount
);
std
::
unordered_map
<
OUString
,
int
,
OUStringHash
>
aDevCount
(
aDeviceStringCount
);
unsigned
int
nMonitorCount
=
m_aMonitors
.
size
();
for
(
unsigned
int
i
=
0
;
i
<
nMonitorCount
;
i
++
)
{
...
...
vcl/win/source/gdi/winlayout.cxx
Dosyayı görüntüle @
42a4de09
...
...
@@ -42,9 +42,9 @@
#include <shlwapi.h>
#include <winver.h>
#include <
boost/unordered_map.hp
p>
#include <
unordered_ma
p>
typedef
boost
::
unordered_map
<
int
,
int
>
IntMap
;
typedef
std
::
unordered_map
<
int
,
int
>
IntMap
;
// Graphite headers
#include <config_graphite.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment