diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:37:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:37:00 +0100 |
commit | c50ab3b3b21a7091a6ceb9c553ba9cd3ff0aaf47 (patch) | |
tree | abade190f24ae8236c34a35280437ed6c984d0a7 /sd/source/ui/app/sdmod.cxx | |
parent | 801b91432476d791bbb4000b06ace342f583784d (diff) |
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I60f792a9047d8d9ad9cfc2a442c4dd179efec53a
Diffstat (limited to 'sd/source/ui/app/sdmod.cxx')
-rw-r--r-- | sd/source/ui/app/sdmod.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/app/sdmod.cxx b/sd/source/ui/app/sdmod.cxx index 7747cc76ca40..36d3aaa59855 100644 --- a/sd/source/ui/app/sdmod.cxx +++ b/sd/source/ui/app/sdmod.cxx @@ -81,7 +81,7 @@ SdModule::SdModule(SfxObjectFactory* pFact1, SfxObjectFactory* pFact2 ) mpResourceContainer(new ::sd::SdGlobalResourceContainer()), mbEventListenerAdded(false) { - SetName( OUString( "StarDraw" ) ); // Do not translate! + SetName( "StarDraw" ); // Do not translate! pSearchItem = new SvxSearchItem(SID_SEARCH_ITEM); pSearchItem->SetAppFlag(SvxSearchApp::DRAW); StartListening( *SfxGetpApp() ); @@ -186,7 +186,7 @@ tools::SvRef<SotStorageStream> SdModule::GetOptionStream( const OUString& rOptio { INetURLObject aURL( SvtPathOptions().GetUserConfigPath() ); - aURL.Append( OUString( "drawing.cfg" ) ); + aURL.Append( "drawing.cfg" ); SvStream* pStm = ::utl::UcbStreamHelper::CreateStream( aURL.GetMainURL( INetURLObject::NO_DECODE ), STREAM_READWRITE ); |