diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-07-29 08:26:29 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-07-29 08:26:29 +0200 |
commit | a95d1eff071cfafb7e072f6ba82fd04989a76ea9 (patch) | |
tree | 64bdce5b97fe17bc0462fefc2b1cb2cdfa3eaabb /basic | |
parent | f1b77bf3715b7a28cf4a9afd5f47b3e20d50ca36 (diff) |
Remove effectively unused INetURLObject OString overloads
Change-Id: Icbbe27b229d5454d27be646e00e8b362a77359b3
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/uno/namecont.cxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index b6abe419ef3d..edf724e9edd3 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -1019,13 +1019,11 @@ void SfxLibraryContainer::init_Impl( const OUString& rInitialDocumentURL, INetURLObject aUserBasicInetObj( maLibraryPath.getToken(1, (sal_Unicode)';') ); OUString aStandardStr("Standard"); - static char const strPrevFolderName_1[] = "__basic_80"; - static char const strPrevFolderName_2[] = "__basic_80_2"; INetURLObject aPrevUserBasicInetObj_1( aUserBasicInetObj ); aPrevUserBasicInetObj_1.removeSegment(); INetURLObject aPrevUserBasicInetObj_2 = aPrevUserBasicInetObj_1; - aPrevUserBasicInetObj_1.Append( OString( strPrevFolderName_1 )); - aPrevUserBasicInetObj_2.Append( OString( strPrevFolderName_2 )); + aPrevUserBasicInetObj_1.Append( "__basic_80" ); + aPrevUserBasicInetObj_2.Append( "__basic_80_2" ); // #i93163 bool bCleanUp = false; @@ -1090,7 +1088,7 @@ void SfxLibraryContainer::init_Impl( const OUString& rInitialDocumentURL, OUString aFolderUserBasic = aUserBasicInetObj.GetMainURL( INetURLObject::NO_DECODE ); INetURLObject aUserBasicTmpInetObj( aUserBasicInetObj ); aUserBasicTmpInetObj.removeSegment(); - aUserBasicTmpInetObj.Append( OString( "__basic_tmp" )); + aUserBasicTmpInetObj.Append( "__basic_tmp" ); OUString aFolderTmp = aUserBasicTmpInetObj.GetMainURL( INetURLObject::NO_DECODE ); mxSFI->move( aFolderUserBasic, aFolderTmp ); @@ -1217,10 +1215,9 @@ void SfxLibraryContainer::init_Impl( const OUString& rInitialDocumentURL, // #i93163 if( bCleanUp ) { - static const char strErrorSavFolderName[] = "__basic_80_err"; INetURLObject aPrevUserBasicInetObj_Err( aUserBasicInetObj ); aPrevUserBasicInetObj_Err.removeSegment(); - aPrevUserBasicInetObj_Err.Append( OString( strErrorSavFolderName )); + aPrevUserBasicInetObj_Err.Append( "__basic_80_err" ); OUString aPrevFolder_Err = aPrevUserBasicInetObj_Err.GetMainURL( INetURLObject::NO_DECODE ); bool bSaved = false; |