summaryrefslogtreecommitdiff
path: root/scaddins
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-01 14:48:46 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-01 20:34:21 +0000
commit770632cabb87d3f0c04e0cd39609fdf6f7ec1825 (patch)
tree6d52e323ce2e935ce40069b2d65e0a798eae60ad /scaddins
parent73259ccb76ce3fab858bcd64ed8c0d583f011abb (diff)
pointless to go from char* to OString to char*
Diffstat (limited to 'scaddins')
-rw-r--r--scaddins/source/datefunc/datefunc.cxx3
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;