[Libreoffice-commits] .: sfx2/source
Jan Holesovsky
kendy at kemper.freedesktop.org
Tue Jul 17 01:36:03 PDT 2012
sfx2/source/appl/shutdowniconw32.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3e3a6a799debca97dc4f7c496eda7259dc421407
Author: Jan Holesovsky <kendy at suse.cz>
Date: Tue Jul 17 10:34:30 2012 +0200
Fix MinGW build.
Change-Id: I48bad55cc982fba6fb48a921746801de9993bff1
diff --git a/sfx2/source/appl/shutdowniconw32.cxx b/sfx2/source/appl/shutdowniconw32.cxx
index f4a540e..dbef7e1 100644
--- a/sfx2/source/appl/shutdowniconw32.cxx
+++ b/sfx2/source/appl/shutdowniconw32.cxx
@@ -280,7 +280,7 @@ static void addTaskbarIcon( HWND hWnd )
IMAGE_ICON, GetSystemMetrics( SM_CXSMICON ), GetSystemMetrics( SM_CYSMICON ),
LR_DEFAULTCOLOR | LR_SHARED );
- wcsncpy( nid.szTip, strTip.getStr(), 64 );
+ wcsncpy( nid.szTip, reinterpret_cast<LPCWSTR>(strTip.getStr()), 64 );
nid.cbSize = sizeof(nid);
nid.hWnd = hWnd;
More information about the Libreoffice-commits
mailing list