diff options
Diffstat (limited to 'svl/source/svdde/ddestrg.cxx')
-rw-r--r-- | svl/source/svdde/ddestrg.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svl/source/svdde/ddestrg.cxx b/svl/source/svdde/ddestrg.cxx index 70cde9aa8594..43fbe5b6d9e4 100644 --- a/svl/source/svdde/ddestrg.cxx +++ b/svl/source/svdde/ddestrg.cxx @@ -20,11 +20,12 @@ #include "ddeimp.hxx" #include <svl/svdde.hxx> +#include <o3tl/char16_t2wchar_t.hxx> DdeString::DdeString( DWORD hDdeInst, const OUString& r) : m_aString(r) { - hString = DdeCreateStringHandleW( hDdeInst, SAL_W(r.getStr()), CP_WINUNICODE ); + hString = DdeCreateStringHandleW( hDdeInst, o3tl::toW(r.getStr()), CP_WINUNICODE ); hInst = hDdeInst; } |