diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 14:48:46 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 20:34:21 +0000 |
commit | 770632cabb87d3f0c04e0cd39609fdf6f7ec1825 (patch) | |
tree | 6d52e323ce2e935ce40069b2d65e0a798eae60ad /scaddins | |
parent | 73259ccb76ce3fab858bcd64ed8c0d583f011abb (diff) |
pointless to go from char* to OString to char*
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/source/datefunc/datefunc.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx index 8d6655d8c13b..f6a5c4fa25f3 100644 --- a/scaddins/source/datefunc/datefunc.cxx +++ b/scaddins/source/datefunc/datefunc.cxx @@ -359,8 +359,7 @@ void ScaDateAddIn::InitData() delete pResMgr; OString aModName( "date" ); - pResMgr = ResMgr::CreateResMgr( (const sal_Char*) aModName, - aFuncLoc ); + pResMgr = ResMgr::CreateResMgr( aModName.getStr(), aFuncLoc ); if( pFuncDataList ) delete pFuncDataList; |