diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 14:48:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 20:34:21 +0000 |
commit | 73259ccb76ce3fab858bcd64ed8c0d583f011abb (patch) | |
tree | 9bc7418514906a39cb6c07d3b5f5e4001d1c27f6 /scaddins | |
parent | Removed dead code (diff) | |
download | core-73259ccb76ce3fab858bcd64ed8c0d583f011abb.tar.gz core-73259ccb76ce3fab858bcd64ed8c0d583f011abb.zip |
pointless to go from char* to OString to char*
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/source/analysis/analysis.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scaddins/source/analysis/analysis.cxx b/scaddins/source/analysis/analysis.cxx index 758324346a21..09fea0f11da2 100644 --- a/scaddins/source/analysis/analysis.cxx +++ b/scaddins/source/analysis/analysis.cxx @@ -194,8 +194,7 @@ void AnalysisAddIn::InitData( void ) delete pResMgr; OString aModName( "analysis" ); - pResMgr = ResMgr::CreateResMgr( ( const sal_Char* ) aModName, - aFuncLoc ); + pResMgr = ResMgr::CreateResMgr( aModName.getStr(), aFuncLoc ); if( pFD ) delete pFD; |