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
34ebc821
Kaydet (Commit)
34ebc821
authored
Tem 16, 2012
tarafından
Andras Timar
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#52143 use Unicode functions for QuickStarter tooltip
Change-Id: Ic9c7ed84925ea5b4ce324a98a1089102dcda24b8
üst
8722e6f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
shutdowniconw32.cxx
sfx2/source/appl/shutdowniconw32.cxx
+3
-4
No files found.
sfx2/source/appl/shutdowniconw32.cxx
Dosyayı görüntüle @
34ebc821
...
...
@@ -275,13 +275,12 @@ static void addTaskbarIcon( HWND hWnd )
strTip
=
ShutdownIcon
::
getInstance
()
->
GetResString
(
STR_QUICKSTART_TIP
);
// add taskbar icon
NOTIFYICONDATA
A
nid
;
NOTIFYICONDATA
W
nid
;
nid
.
hIcon
=
(
HICON
)
LoadImageA
(
GetModuleHandle
(
NULL
),
MAKEINTRESOURCE
(
ICON_LO_DEFAULT
),
IMAGE_ICON
,
GetSystemMetrics
(
SM_CXSMICON
),
GetSystemMetrics
(
SM_CYSMICON
),
LR_DEFAULTCOLOR
|
LR_SHARED
);
// better use unicode wrapper here ?
strncpy
(
nid
.
szTip
,
(
OUStringToOString
(
strTip
,
osl_getThreadTextEncoding
()).
getStr
()
),
64
);
wcsncpy
(
nid
.
szTip
,
strTip
.
getStr
(),
64
);
nid
.
cbSize
=
sizeof
(
nid
);
nid
.
hWnd
=
hWnd
;
...
...
@@ -289,7 +288,7 @@ static void addTaskbarIcon( HWND hWnd )
nid
.
uCallbackMessage
=
SFX_TASKBAR_NOTIFICATION
;
nid
.
uFlags
=
NIF_MESSAGE
|
NIF_TIP
|
NIF_ICON
;
Shell_NotifyIcon
A
(
NIM_ADD
,
&
nid
);
Shell_NotifyIcon
W
(
NIM_ADD
,
&
nid
);
}
// -------------------------------
...
...
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