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
157a32f0
Kaydet (Commit)
157a32f0
authored
Şub 01, 2012
tarafından
Jesús Corrius
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Win32 API calls use the Unicode versions by default
üst
f25555d6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
17 deletions
+17
-17
saldata.cxx
vcl/win/source/app/saldata.cxx
+5
-5
salinfo.cxx
vcl/win/source/app/salinfo.cxx
+4
-4
salinst.cxx
vcl/win/source/app/salinst.cxx
+8
-8
No files found.
vcl/win/source/app/saldata.cxx
Dosyayı görüntüle @
157a32f0
...
...
@@ -93,35 +93,35 @@ int ImplSalWICompareAscii( const wchar_t* pStr1, const char* pStr2 )
BOOL
ImplPostMessage
(
HWND
hWnd
,
UINT
nMsg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
return
PostMessage
W
(
hWnd
,
nMsg
,
wParam
,
lParam
);
return
PostMessage
(
hWnd
,
nMsg
,
wParam
,
lParam
);
}
// -----------------------------------------------------------------------
BOOL
ImplSendMessage
(
HWND
hWnd
,
UINT
nMsg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
return
SendMessage
W
(
hWnd
,
nMsg
,
wParam
,
lParam
);
return
SendMessage
(
hWnd
,
nMsg
,
wParam
,
lParam
);
}
// -----------------------------------------------------------------------
BOOL
ImplGetMessage
(
LPMSG
lpMsg
,
HWND
hWnd
,
UINT
wMsgFilterMin
,
UINT
wMsgFilterMax
)
{
return
GetMessage
W
(
lpMsg
,
hWnd
,
wMsgFilterMin
,
wMsgFilterMax
);
return
GetMessage
(
lpMsg
,
hWnd
,
wMsgFilterMin
,
wMsgFilterMax
);
}
// -----------------------------------------------------------------------
BOOL
ImplPeekMessage
(
LPMSG
lpMsg
,
HWND
hWnd
,
UINT
wMsgFilterMin
,
UINT
wMsgFilterMax
,
UINT
wRemoveMsg
)
{
return
PeekMessage
W
(
lpMsg
,
hWnd
,
wMsgFilterMin
,
wMsgFilterMax
,
wRemoveMsg
);
return
PeekMessage
(
lpMsg
,
hWnd
,
wMsgFilterMin
,
wMsgFilterMax
,
wRemoveMsg
);
}
// -----------------------------------------------------------------------
LONG
ImplDispatchMessage
(
CONST
MSG
*
lpMsg
)
{
return
DispatchMessage
W
(
lpMsg
);
return
DispatchMessage
(
lpMsg
);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
vcl/win/source/app/salinfo.cxx
Dosyayı görüntüle @
157a32f0
...
...
@@ -67,9 +67,9 @@ static BOOL CALLBACK ImplEnumMonitorProc( HMONITOR hMonitor,
sal_Bool
WinSalSystem
::
handleMonitorCallback
(
sal_IntPtr
hMonitor
,
sal_IntPtr
,
sal_IntPtr
)
{
MONITORINFOEX
W
aInfo
;
MONITORINFOEX
aInfo
;
aInfo
.
cbSize
=
sizeof
(
aInfo
);
if
(
GetMonitorInfo
W
(
reinterpret_cast
<
HMONITOR
>
(
hMonitor
),
&
aInfo
)
)
if
(
GetMonitorInfo
(
reinterpret_cast
<
HMONITOR
>
(
hMonitor
),
&
aInfo
)
)
{
aInfo
.
szDevice
[
CCHDEVICENAME
-
1
]
=
0
;
rtl
::
OUString
aDeviceName
(
reinterpret_cast
<
const
sal_Unicode
*>
(
aInfo
.
szDevice
)
);
...
...
@@ -127,7 +127,7 @@ bool WinSalSystem::initMonitors()
aDev
.
cb
=
sizeof
(
aDev
);
DWORD
nDevice
=
0
;
boost
::
unordered_map
<
rtl
::
OUString
,
int
,
rtl
::
OUStringHash
>
aDeviceStringCount
;
while
(
EnumDisplayDevices
W
(
NULL
,
nDevice
++
,
&
aDev
,
0
)
)
while
(
EnumDisplayDevices
(
NULL
,
nDevice
++
,
&
aDev
,
0
)
)
{
if
(
(
aDev
.
StateFlags
&
DISPLAY_DEVICE_ACTIVE
)
&&
!
(
aDev
.
StateFlags
&
DISPLAY_DEVICE_MIRRORING_DRIVER
)
)
// sort out non/disabled monitors
...
...
@@ -236,7 +236,7 @@ int WinSalSystem::ShowNativeMessageBox(const rtl::OUString& rTitle, const rtl::O
nFlags
|=
DEFAULT_BTN_MAPPING_TABLE
[
nButtonCombination
][
nDefaultButton
];
ImplHideSplash
();
return
MessageBox
W
(
return
MessageBox
(
0
,
reinterpret_cast
<
LPCWSTR
>
(
rMessage
.
getStr
()),
reinterpret_cast
<
LPCWSTR
>
(
rTitle
.
getStr
()),
...
...
vcl/win/source/app/salinst.cxx
Dosyayı görüntüle @
157a32f0
...
...
@@ -89,13 +89,13 @@ void SalAbort( const rtl::OUString& rErrorText, bool )
{
// make sure crash reporter is triggered
RaiseException
(
0
,
EXCEPTION_NONCONTINUABLE
,
0
,
NULL
);
FatalAppExit
W
(
0
,
L"Application Error"
);
FatalAppExit
(
0
,
L"Application Error"
);
}
else
{
// make sure crash reporter is triggered
RaiseException
(
0
,
EXCEPTION_NONCONTINUABLE
,
0
,
NULL
);
FatalAppExit
W
(
0
,
rErrorText
.
getStr
()
);
FatalAppExit
(
0
,
rErrorText
.
getStr
()
);
}
}
...
...
@@ -521,32 +521,32 @@ SalInstance* CreateSalInstance()
aWndClassEx
.
lpszMenuName
=
0
;
aWndClassEx
.
lpszClassName
=
SAL_FRAME_CLASSNAMEW
;
ImplLoadSalIcon
(
SAL_RESID_ICON_DEFAULT
,
aWndClassEx
.
hIcon
,
aWndClassEx
.
hIconSm
);
if
(
!
RegisterClassEx
W
(
&
aWndClassEx
)
)
if
(
!
RegisterClassEx
(
&
aWndClassEx
)
)
return
NULL
;
aWndClassEx
.
hIcon
=
0
;
aWndClassEx
.
hIconSm
=
0
;
aWndClassEx
.
style
|=
CS_SAVEBITS
;
aWndClassEx
.
lpszClassName
=
SAL_SUBFRAME_CLASSNAMEW
;
if
(
!
RegisterClassEx
W
(
&
aWndClassEx
)
)
if
(
!
RegisterClassEx
(
&
aWndClassEx
)
)
return
NULL
;
// shadow effect for popups on XP
if
(
aSalShlData
.
mbWXP
)
aWndClassEx
.
style
|=
CS_DROPSHADOW
;
aWndClassEx
.
lpszClassName
=
SAL_TMPSUBFRAME_CLASSNAMEW
;
if
(
!
RegisterClassEx
W
(
&
aWndClassEx
)
)
if
(
!
RegisterClassEx
(
&
aWndClassEx
)
)
return
NULL
;
aWndClassEx
.
style
=
0
;
aWndClassEx
.
lpfnWndProc
=
SalComWndProcW
;
aWndClassEx
.
cbWndExtra
=
0
;
aWndClassEx
.
lpszClassName
=
SAL_COM_CLASSNAMEW
;
if
(
!
RegisterClassEx
W
(
&
aWndClassEx
)
)
if
(
!
RegisterClassEx
(
&
aWndClassEx
)
)
return
NULL
;
}
HWND
hComWnd
=
CreateWindowEx
W
(
WS_EX_TOOLWINDOW
,
SAL_COM_CLASSNAMEW
,
HWND
hComWnd
=
CreateWindowEx
(
WS_EX_TOOLWINDOW
,
SAL_COM_CLASSNAMEW
,
L""
,
WS_POPUP
,
0
,
0
,
0
,
0
,
0
,
0
,
pSalData
->
mhInst
,
NULL
);
if
(
!
hComWnd
)
...
...
@@ -870,7 +870,7 @@ LRESULT CALLBACK SalComWndProcW( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lPa
if
(
bDef
)
{
if
(
!
ImplHandleGlobalMsg
(
hWnd
,
nMsg
,
wParam
,
lParam
,
nRet
)
)
nRet
=
DefWindowProc
W
(
hWnd
,
nMsg
,
wParam
,
lParam
);
nRet
=
DefWindowProc
(
hWnd
,
nMsg
,
wParam
,
lParam
);
}
return
nRet
;
}
...
...
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