summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2012-07-17 10:34:30 +0200
committerPetr Mladek <pmladek@suse.cz>2012-11-20 18:33:16 +0100
commitb382f0cb7c392b434a632f3de32ade9870e5ed6c (patch)
treed5625fb17f6b922b779b954a1b74f992d372a28a
parent13946e644171701af7f619319ab28283f4c46154 (diff)
Fix MinGW build.
Change-Id: I48bad55cc982fba6fb48a921746801de9993bff1 Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
-rw-r--r--sfx2/source/appl/shutdowniconw32.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/shutdowniconw32.cxx b/sfx2/source/appl/shutdowniconw32.cxx
index 28f783be28eb..2f85ae58e4bd 100644
--- a/sfx2/source/appl/shutdowniconw32.cxx
+++ b/sfx2/source/appl/shutdowniconw32.cxx
@@ -289,7 +289,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;