diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-11 11:14:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-11 11:14:59 +0200 |
commit | f278b6d4afacb3d41f47023161ed8f076e5642f2 (patch) | |
tree | 07f67c56e475d2b9a84f5702407a3d2830220717 /svl/source/svdde | |
parent | e1da95ba4e71face32964b9b71441dfdfe803b41 (diff) |
Clean up uses of SAL_U/SAL_W: svl
Change-Id: Iab8a066d050ec042a32d57c338f5318c992c1999
Diffstat (limited to 'svl/source/svdde')
-rw-r--r-- | svl/source/svdde/ddeimp.hxx | 1 | ||||
-rw-r--r-- | svl/source/svdde/ddestrg.cxx | 9 |
2 files changed, 1 insertions, 9 deletions
diff --git a/svl/source/svdde/ddeimp.hxx b/svl/source/svdde/ddeimp.hxx index e5029780eb57..b891a1509476 100644 --- a/svl/source/svdde/ddeimp.hxx +++ b/svl/source/svdde/ddeimp.hxx @@ -62,7 +62,6 @@ protected: DWORD hInst; public: - DdeString( DWORD, const sal_Unicode* ); DdeString( DWORD, const OUString& ); ~DdeString(); diff --git a/svl/source/svdde/ddestrg.cxx b/svl/source/svdde/ddestrg.cxx index 366e6ada7cf7..841c3d7e8e28 100644 --- a/svl/source/svdde/ddestrg.cxx +++ b/svl/source/svdde/ddestrg.cxx @@ -23,17 +23,10 @@ #include "ddeimp.hxx" #include <svl/svdde.hxx> -DdeString::DdeString( DWORD hDdeInst, const sal_Unicode* p ) - : m_aString(p) -{ - hString = DdeCreateStringHandle( hDdeInst, SAL_W(p), CP_WINUNICODE ); - hInst = hDdeInst; -} - DdeString::DdeString( DWORD hDdeInst, const OUString& r) : m_aString(r) { - hString = DdeCreateStringHandle( hDdeInst, SAL_W(r.getStr()), CP_WINUNICODE ); + hString = DdeCreateStringHandle( hDdeInst, reinterpret_cast<wchar_t const *>(r.getStr()), CP_WINUNICODE ); hInst = hDdeInst; } |