diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 11:44:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 20:38:35 +0000 |
commit | 53ad8de63efafd7d488024052464ad9dc51e6f7d (patch) | |
tree | 53e2678a41f764486fbbbd9cd1269a9c64d6a770 /sfx2 | |
parent | b3aaf47ae44d6789ac6d76383f314f18735c1903 (diff) |
Pointless to convert char* to OString and back
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/app.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx index ac5db39ad7..35184120d5 100644 --- a/sfx2/source/appl/app.cxx +++ b/sfx2/source/appl/app.cxx @@ -539,8 +539,7 @@ short SfxApplication::QuerySave_Impl( SfxObjectShell& rDoc, sal_Bool /*bAutoSave ResMgr* SfxApplication::CreateResManager( const char *pPrefix ) { - String aMgrName = String::CreateFromAscii( pPrefix ); - return ResMgr::CreateResMgr(U2S(aMgrName)); + return ResMgr::CreateResMgr(pPrefix); } //--------------------------------------------------------------------- |