summaryrefslogtreecommitdiff
path: root/embedserv/source/embed/ed_ioleobject.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'embedserv/source/embed/ed_ioleobject.cxx')
-rw-r--r--embedserv/source/embed/ed_ioleobject.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/embedserv/source/embed/ed_ioleobject.cxx b/embedserv/source/embed/ed_ioleobject.cxx
index 54afccc3adb4..965337547ecd 100644
--- a/embedserv/source/embed/ed_ioleobject.cxx
+++ b/embedserv/source/embed/ed_ioleobject.cxx
@@ -47,10 +47,10 @@ STDMETHODIMP EmbedDocument_Impl::SetHostNames( LPCOLESTR szContainerApp, LPCOLES
{
m_pDocHolder->setTitle(
OUString(
- szContainerObj));
+ SAL_U(szContainerObj)));
m_pDocHolder->setContainerName(
OUString(
- szContainerApp));
+ SAL_U(szContainerApp)));
}
return S_OK;
@@ -424,7 +424,7 @@ HRESULT EmbedDocument_Impl::SaveObject()
// in case of links the containers does not provide client site sometimes
hr = Save( static_cast<LPCOLESTR>(nullptr), FALSE ); // triggers saving to the link location
- SaveCompleted( aPreservFileName.getStr() );
+ SaveCompleted( SAL_W(aPreservFileName.getStr()) );
}
notify( false );