diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-08-02 08:44:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-08-02 08:55:53 +0100 |
commit | d4b172b8196de05bb4efa39e19a2b324cf0b2778 (patch) | |
tree | fa7c51dab729a66f3d71c11769ae8325a380bda4 /svl/source/svdde/ddestrg.cxx | |
parent | 1d90e4f5f3e046b946445dec38811fec8114364c (diff) |
strip down UniString some more
Change-Id: Ibd749a70a7bbe8c1023edf7bd144aa6547147a12
Diffstat (limited to 'svl/source/svdde/ddestrg.cxx')
-rw-r--r-- | svl/source/svdde/ddestrg.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svl/source/svdde/ddestrg.cxx b/svl/source/svdde/ddestrg.cxx index 1c8c18927505..6a2564dd17a3 100644 --- a/svl/source/svdde/ddestrg.cxx +++ b/svl/source/svdde/ddestrg.cxx @@ -25,8 +25,8 @@ // --- DdeString::DdeString() -------------------------------------- -DdeString::DdeString( DWORD hDdeInst, const sal_Unicode* p ) : - String( p ) +DdeString::DdeString( DWORD hDdeInst, const sal_Unicode* p ) + : m_aString(p) { hString = DdeCreateStringHandle( hDdeInst, (LPTSTR)p, CP_WINUNICODE ); hInst = hDdeInst; @@ -34,10 +34,10 @@ DdeString::DdeString( DWORD hDdeInst, const sal_Unicode* p ) : // --- DdeString::DdeString() -------------------------------------- -DdeString::DdeString( DWORD hDdeInst, const String& r) : - String( r ) +DdeString::DdeString( DWORD hDdeInst, const rtl::OUString& r) + : m_aString(r) { - hString = DdeCreateStringHandle( hDdeInst, (LPTSTR)r.GetBuffer(), CP_WINUNICODE ); + hString = DdeCreateStringHandle( hDdeInst, (LPTSTR)r.getStr(), CP_WINUNICODE ); hInst = hDdeInst; } |