summaryrefslogtreecommitdiff
path: root/sfx2/source/view
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-06-03 20:08:46 -0300
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-06-03 20:08:46 -0300
commit4c0d50eac4d89d2717d9e6787932a10abbb6e264 (patch)
tree1a4fab8ff96192b7f022a43c24ca5791aaa92774 /sfx2/source/view
parent27cd9157ac0e824197aa40c67fe6a4bfab3b2e38 (diff)
Targeted string rework (ii)
Further cleanup on top of 2f1a1c529694c1fec6d3b02930f8226c7b2bccd9 Change-Id: If348a0985ea92e4dafc450402053d43f77a0f58f
Diffstat (limited to 'sfx2/source/view')
-rw-r--r--sfx2/source/view/ipclient.cxx20
1 files changed, 9 insertions, 11 deletions
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx
index 2892be7bfc23..3bdae69e426f 100644
--- a/sfx2/source/view/ipclient.cxx
+++ b/sfx2/source/view/ipclient.cxx
@@ -255,15 +255,13 @@ void SAL_CALL SfxInPlaceClient_Impl::saveObject()
// set non-reschedule progress to prevent problems when asynchronous calls are made
// during storing of the embedded object
uno::Reference< lang::XInitialization > xInit(
- xSrvMgr->createInstance(
- rtl::OUString( "com.sun.star.comp.framework.StatusIndicatorFactory" )),
- uno::UNO_QUERY_THROW );
+ xSrvMgr->createInstance( "com.sun.star.comp.framework.StatusIndicatorFactory" ), uno::UNO_QUERY_THROW );
beans::PropertyValue aProperty;
uno::Sequence< uno::Any > aArgs( 2 );
- aProperty.Name = rtl::OUString( "DisableReschedule" );
+ aProperty.Name = "DisableReschedule";
aProperty.Value = uno::makeAny( sal_True );
aArgs[0] = uno::makeAny( aProperty );
- aProperty.Name = rtl::OUString( "Frame" );
+ aProperty.Name = "Frame";
aProperty.Value = uno::makeAny( xFrame );
aArgs[1] = uno::makeAny( aProperty );
@@ -276,7 +274,7 @@ void SAL_CALL SfxInPlaceClient_Impl::saveObject()
{
uno::Reference< task::XStatusIndicatorFactory > xStatusIndicatorFactory( xInit, uno::UNO_QUERY_THROW );
xStatusIndicator = xStatusIndicatorFactory->createStatusIndicator();
- xPropSet->setPropertyValue( rtl::OUString( "IndicatorInterception" ), uno::makeAny( xStatusIndicator ));
+ xPropSet->setPropertyValue( "IndicatorInterception" , uno::makeAny( xStatusIndicator ));
}
catch ( const uno::RuntimeException& )
{
@@ -305,7 +303,7 @@ void SAL_CALL SfxInPlaceClient_Impl::saveObject()
if ( xPropSet.is() )
{
xStatusIndicator.clear();
- xPropSet->setPropertyValue( rtl::OUString( "IndicatorInterception" ), uno::makeAny( xStatusIndicator ));
+ xPropSet->setPropertyValue( "IndicatorInterception" , uno::makeAny( xStatusIndicator ));
}
}
catch ( const uno::RuntimeException& )
@@ -420,7 +418,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("LayoutManager") );
+ uno::Any aAny = xFrame->getPropertyValue( "LayoutManager" );
aAny >>= xMan;
}
catch ( uno::Exception& )
@@ -917,14 +915,14 @@ ErrCode SfxInPlaceClient::DoVerb( long nVerb )
uno::Reference< lang::XMultiServiceFactory > xEmptyFactory;
SfxStoringHelper aHelper( xEmptyFactory );
uno::Sequence< beans::PropertyValue > aDispatchArgs( 1 );
- aDispatchArgs[0].Name = ::rtl::OUString( "SaveTo" );
+ aDispatchArgs[0].Name = "SaveTo";
aDispatchArgs[0].Value <<= (sal_Bool)sal_True;
aHelper.GUIStoreModel( xEmbModel,
- ::rtl::OUString( "SaveAs" ),
+ "SaveAs",
aDispatchArgs,
sal_False,
- ::rtl::OUString() );
+ "" );
}
catch( const task::ErrorCodeIOException& aErrorEx )
{