diff options
Diffstat (limited to 'svl/source/svdde/ddestrg.cxx')
-rw-r--r-- | svl/source/svdde/ddestrg.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svl/source/svdde/ddestrg.cxx b/svl/source/svdde/ddestrg.cxx index 841c3d7e8e28..70cde9aa8594 100644 --- a/svl/source/svdde/ddestrg.cxx +++ b/svl/source/svdde/ddestrg.cxx @@ -18,15 +18,13 @@ */ -#define UNICODE - #include "ddeimp.hxx" #include <svl/svdde.hxx> DdeString::DdeString( DWORD hDdeInst, const OUString& r) : m_aString(r) { - hString = DdeCreateStringHandle( hDdeInst, reinterpret_cast<wchar_t const *>(r.getStr()), CP_WINUNICODE ); + hString = DdeCreateStringHandleW( hDdeInst, SAL_W(r.getStr()), CP_WINUNICODE ); hInst = hDdeInst; } |