summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authortono <tono@openoffice.org>2010-07-03 00:04:42 +0900
committertono <tono@openoffice.org>2010-07-03 00:04:42 +0900
commit0d4968c436f15c385ac454adc0f642e13434d78a (patch)
treeac315a39f79515e5086ef8691c4c70cee7cfcdd0 /sfx2
parenta2e7c2e0d002d75a6b77a629a4e904ab54bf8375 (diff)
i#112734: MinGW port fix: sfx2
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/syspathw32.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/syspathw32.cxx b/sfx2/source/doc/syspathw32.cxx
index 73bd84f5249a..c0a163bed39c 100644
--- a/sfx2/source/doc/syspathw32.cxx
+++ b/sfx2/source/doc/syspathw32.cxx
@@ -74,7 +74,7 @@ typedef unsigned short sal_uInt16;
extern "C" bool GetUserTemplateLocation(sal_Unicode* pFolder, int nSize)
{
#ifdef WNT
- return _SHGetSpecialFolderW32( CSIDL_TEMPLATES, pFolder, nSize );
+ return _SHGetSpecialFolderW32( CSIDL_TEMPLATES, reinterpret_cast<LPWSTR>(pFolder), nSize );
#else
(void)pFolder;
(void)nSize;