summaryrefslogtreecommitdiff
path: root/basic/source/runtime
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-10 10:13:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-10 10:13:41 +0200
commitc14ed11d77fcace619b9f63707c6c4dfc3309c6c (patch)
treeab7c499cc4b3ab7f86d33eb20fd22c44a2a7e461 /basic/source/runtime
parentb35552f39503b9baca9c2d7b6944d9f18ca0004a (diff)
Clean up uses of SAL_U/SAL_W: basic
Change-Id: I755b3b781c42cc9af61c0b90621d2eb7f544df62
Diffstat (limited to 'basic/source/runtime')
-rw-r--r--basic/source/runtime/methods.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 67c0534f6821..bc0da7541f4e 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -416,7 +416,8 @@ RTLFUNC(CurDir)
wchar_t pBuffer[ _MAX_PATH ];
if ( _wgetdcwd( nCurDir, pBuffer, _MAX_PATH ) != nullptr )
{
- rPar.Get(0)->PutString( OUString( SAL_U(pBuffer) ) );
+ rPar.Get(0)->PutString(
+ OUString( reinterpret_cast<sal_Unicode const *>(pBuffer) ) );
}
else
{