diff options
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/svdde/ddedata.cxx | 2 | ||||
-rw-r--r-- | svl/source/svdde/ddesvr.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/svdde/ddedata.cxx b/svl/source/svdde/ddedata.cxx index c57de4a9ac0b..0a14525c8a31 100644 --- a/svl/source/svdde/ddedata.cxx +++ b/svl/source/svdde/ddedata.cxx @@ -160,7 +160,7 @@ SotClipboardFormatId DdeData::GetInternalFormat(sal_uLong nFmt) WCHAR szName[ 256 ]; if(GetClipboardFormatNameW( nFmt, szName, SAL_N_ELEMENTS(szName) )) - return SotExchange::RegisterFormatName( o3tl::toU(szName) ); + return SotExchange::RegisterFormatName( OUString(o3tl::toU(szName)) ); } #endif break; diff --git a/svl/source/svdde/ddesvr.cxx b/svl/source/svdde/ddesvr.cxx index b2162e3a4a26..330e69f2b167 100644 --- a/svl/source/svdde/ddesvr.cxx +++ b/svl/source/svdde/ddesvr.cxx @@ -379,7 +379,7 @@ DdeItem* DdeInternal::FindItem( DdeTopic& rTopic, HSZ hItem ) // Let's query our subclass WCHAR chBuf[250]; DdeQueryStringW(pInst->hDdeInstSvr,hItem,chBuf,SAL_N_ELEMENTS(chBuf),CP_WINUNICODE ); - bContinue = rTopic.MakeItem( o3tl::toU(chBuf) ); + bContinue = rTopic.MakeItem( OUString(o3tl::toU(chBuf)) ); // We need to search again } while( bContinue ); @@ -625,7 +625,7 @@ DdeItem::DdeItem( const sal_Unicode* p ) { DdeInstData* pInst = ImpGetInstData(); assert(pInst); - pName = new DdeString( pInst->hDdeInstSvr, p ); + pName = new DdeString( pInst->hDdeInstSvr, OUString(p) ); nType = DDEITEM; pMyTopic = nullptr; pImpData = nullptr; |