From b382f0cb7c392b434a632f3de32ade9870e5ed6c Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Tue, 17 Jul 2012 10:34:30 +0200 Subject: Fix MinGW build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I48bad55cc982fba6fb48a921746801de9993bff1 Signed-off-by: Luboš Luňák --- sfx2/source/appl/shutdowniconw32.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2') 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(strTip.getStr()), 64 ); nid.cbSize = sizeof(nid); nid.hWnd = hWnd; -- cgit v1.2.3