diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-02 23:00:35 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-02 23:00:35 -0500 |
commit | 2f1a1c529694c1fec6d3b02930f8226c7b2bccd9 (patch) | |
tree | 48f2d3144b40e0eabd9e3cf551b511cd5a26f17a /sfx2/source/view | |
parent | aa062d1b735f3ebef00fe64c74240240d3912722 (diff) |
targeted string re-work
Change-Id: Ia43a1ac7e55f3823255d739fb0930fa23ec5ab27
Diffstat (limited to 'sfx2/source/view')
-rw-r--r-- | sfx2/source/view/ipclient.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx index ec198973c59a..2892be7bfc23 100644 --- a/sfx2/source/view/ipclient.cxx +++ b/sfx2/source/view/ipclient.cxx @@ -256,14 +256,14 @@ void SAL_CALL SfxInPlaceClient_Impl::saveObject() // during storing of the embedded object uno::Reference< lang::XInitialization > xInit( xSrvMgr->createInstance( - rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.framework.StatusIndicatorFactory" ))), + rtl::OUString( "com.sun.star.comp.framework.StatusIndicatorFactory" )), uno::UNO_QUERY_THROW ); beans::PropertyValue aProperty; uno::Sequence< uno::Any > aArgs( 2 ); - aProperty.Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "DisableReschedule" )); + aProperty.Name = rtl::OUString( "DisableReschedule" ); aProperty.Value = uno::makeAny( sal_True ); aArgs[0] = uno::makeAny( aProperty ); - aProperty.Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Frame" )); + aProperty.Name = rtl::OUString( "Frame" ); aProperty.Value = uno::makeAny( xFrame ); aArgs[1] = uno::makeAny( aProperty ); @@ -276,7 +276,7 @@ void SAL_CALL SfxInPlaceClient_Impl::saveObject() { uno::Reference< task::XStatusIndicatorFactory > xStatusIndicatorFactory( xInit, uno::UNO_QUERY_THROW ); xStatusIndicator = xStatusIndicatorFactory->createStatusIndicator(); - xPropSet->setPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "IndicatorInterception" )), uno::makeAny( xStatusIndicator )); + xPropSet->setPropertyValue( rtl::OUString( "IndicatorInterception" ), uno::makeAny( xStatusIndicator )); } catch ( const uno::RuntimeException& ) { @@ -305,7 +305,7 @@ void SAL_CALL SfxInPlaceClient_Impl::saveObject() if ( xPropSet.is() ) { xStatusIndicator.clear(); - xPropSet->setPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "IndicatorInterception" )), uno::makeAny( xStatusIndicator )); + xPropSet->setPropertyValue( rtl::OUString( "IndicatorInterception" ), uno::makeAny( xStatusIndicator )); } } catch ( const uno::RuntimeException& ) @@ -420,7 +420,7 @@ uno::Reference< ::com::sun::star::frame::XLayoutManager > SAL_CALL SfxInPlaceCli uno::Reference< ::com::sun::star::frame::XLayoutManager > xMan; try { - uno::Any aAny = xFrame->getPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("LayoutManager")) ); + uno::Any aAny = xFrame->getPropertyValue( ::rtl::OUString("LayoutManager") ); aAny >>= xMan; } catch ( uno::Exception& ) @@ -917,11 +917,11 @@ ErrCode SfxInPlaceClient::DoVerb( long nVerb ) uno::Reference< lang::XMultiServiceFactory > xEmptyFactory; SfxStoringHelper aHelper( xEmptyFactory ); uno::Sequence< beans::PropertyValue > aDispatchArgs( 1 ); - aDispatchArgs[0].Name = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "SaveTo" ) ); + aDispatchArgs[0].Name = ::rtl::OUString( "SaveTo" ); aDispatchArgs[0].Value <<= (sal_Bool)sal_True; aHelper.GUIStoreModel( xEmbModel, - ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "SaveAs" ) ), + ::rtl::OUString( "SaveAs" ), aDispatchArgs, sal_False, ::rtl::OUString() ); |