diff options
author | Noel Grandin <noel@peralex.com> | 2013-12-13 10:54:12 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-12-17 11:49:04 +0200 |
commit | 909b27df488f3c84ab8e5be9a7513a83b7c4b0c1 (patch) | |
tree | 2d17bbce7f9fa40fca140696648ec136a12f63d1 /sfx2 | |
parent | 08fe82e59cbc598d2683d72877653316c1e41962 (diff) |
remove unnecessary double calls to OUString constructor
Change-Id: Ib2690e3ec9987b97363687b61fe8ddae4ace9058
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/inet/inettbc.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/menu/mnuitem.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/inet/inettbc.cxx b/sfx2/source/inet/inettbc.cxx index e7cec074c04c..eb6de6adb57a 100644 --- a/sfx2/source/inet/inettbc.cxx +++ b/sfx2/source/inet/inettbc.cxx @@ -102,7 +102,7 @@ void SfxURLToolBoxControl_Impl::OpenURL( const OUString& rName, sal_Bool /*bNew* if ( xDispatchProvider.is() ) { URL aTargetURL; - OUString aTarget( OUString("_default")); + OUString aTarget( "_default" ); aTargetURL.Complete = aName; diff --git a/sfx2/source/menu/mnuitem.cxx b/sfx2/source/menu/mnuitem.cxx index 57c972fbe0ed..d210c6f8756d 100644 --- a/sfx2/source/menu/mnuitem.cxx +++ b/sfx2/source/menu/mnuitem.cxx @@ -435,7 +435,7 @@ long Select_Impl( void* /*pHdl*/, void* pVoid ) xDisp = xDesktop->queryDispatch( aTargetURL, OUString(), 0 ); else { - OUString aTargetFrame( OUString("_blank") ); + OUString aTargetFrame( "_blank" ); ::framework::MenuConfiguration::Attributes* pMenuAttributes = (::framework::MenuConfiguration::Attributes*)pMenu->GetUserValue( pMenu->GetCurItemId() ); |