summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2012-07-17 10:34:30 +0200
committerJan Holesovsky <kendy@suse.cz>2012-07-17 10:35:50 +0200
commit3e3a6a799debca97dc4f7c496eda7259dc421407 (patch)
treeb38092a54952256f615483a90843fd90a584038c /sfx2
parent4f089de48b9849764c68c084b86b79dbfd396145 (diff)
Fix MinGW build.
Change-Id: I48bad55cc982fba6fb48a921746801de9993bff1
Diffstat (limited to 'sfx2')
-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 f4a540ef7892..dbef7e11233a 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;