summaryrefslogtreecommitdiff
path: root/embedserv/source/embed/docholder.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'embedserv/source/embed/docholder.cxx')
-rw-r--r--embedserv/source/embed/docholder.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/embedserv/source/embed/docholder.cxx b/embedserv/source/embed/docholder.cxx
index d78d01702e17..f3c0692af630 100644
--- a/embedserv/source/embed/docholder.cxx
+++ b/embedserv/source/embed/docholder.cxx
@@ -348,8 +348,7 @@ HRESULT DocumentHolder::InPlaceActivate(
m_xFrame->activate();
else {
// create frame and initialize it with with the created window
- static const ::rtl::OUString aFrameServiceName(
- RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.frame.Frame" ) );
+ static const ::rtl::OUString aFrameServiceName( "com.sun.star.frame.Frame" );
m_xFrame = uno::Reference<frame::XFrame>(
m_xFactory->createInstance(aFrameServiceName),
uno::UNO_QUERY);
@@ -1068,8 +1067,7 @@ IDispatch* DocumentHolder::GetIDispatch()
if ( !m_pIDispatch && m_xDocument.is() )
{
const ::rtl::OUString aServiceName (
- RTL_CONSTASCII_USTRINGPARAM (
- "com.sun.star.bridge.OleBridgeSupplier2" ) );
+ "com.sun.star.bridge.OleBridgeSupplier2" );
uno::Reference< bridge::XBridgeSupplier2 > xSupplier(
m_xFactory->createInstance( aServiceName ), uno::UNO_QUERY );