summaryrefslogtreecommitdiffstats
path: root/svl/source/svdde/ddestrg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/svdde/ddestrg.cxx')
-rw-r--r--svl/source/svdde/ddestrg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/svdde/ddestrg.cxx b/svl/source/svdde/ddestrg.cxx
index cebc93560246..366e6ada7cf7 100644
--- a/svl/source/svdde/ddestrg.cxx
+++ b/svl/source/svdde/ddestrg.cxx
@@ -26,14 +26,14 @@
DdeString::DdeString( DWORD hDdeInst, const sal_Unicode* p )
: m_aString(p)
{
- hString = DdeCreateStringHandle( hDdeInst, p, CP_WINUNICODE );
+ hString = DdeCreateStringHandle( hDdeInst, SAL_W(p), CP_WINUNICODE );
hInst = hDdeInst;
}
DdeString::DdeString( DWORD hDdeInst, const OUString& r)
: m_aString(r)
{
- hString = DdeCreateStringHandle( hDdeInst, r.getStr(), CP_WINUNICODE );
+ hString = DdeCreateStringHandle( hDdeInst, SAL_W(r.getStr()), CP_WINUNICODE );
hInst = hDdeInst;
}