summaryrefslogtreecommitdiff
path: root/scaddins
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2013-11-28 15:52:32 +0000
committerHerbert Dürr <hdu@apache.org>2013-11-28 15:52:32 +0000
commit1a15756db5173403fcdbc3ad522c3a76e88a7082 (patch)
tree915c55a6ea8920d9bf44229129cdfcd2679a3914 /scaddins
parentb8354e209b88f3375635f20542096ed1dac24ba8 (diff)
#i123068# remove implicit conversions from rtl strings to their elements
Notes
Notes: prefer: 112bdf84d684590e042725c7173e059b4afa2f83
Diffstat (limited to 'scaddins')
-rw-r--r--scaddins/source/analysis/analysis.cxx3
-rw-r--r--scaddins/source/analysis/analysishelper.cxx2
-rw-r--r--scaddins/source/datefunc/datefunc.cxx3
3 files changed, 3 insertions, 5 deletions
diff --git a/scaddins/source/analysis/analysis.cxx b/scaddins/source/analysis/analysis.cxx
index 4d2c5bef1563..005b021fb0dc 100644
--- a/scaddins/source/analysis/analysis.cxx
+++ b/scaddins/source/analysis/analysis.cxx
@@ -158,8 +158,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;
diff --git a/scaddins/source/analysis/analysishelper.cxx b/scaddins/source/analysis/analysishelper.cxx
index 32edb3fad7eb..6928e033f8bb 100644
--- a/scaddins/source/analysis/analysishelper.cxx
+++ b/scaddins/source/analysis/analysishelper.cxx
@@ -1844,7 +1844,7 @@ sal_Bool Complex::ParseString( const STRING& rStr, Complex& rCompl )
{
rCompl.c = '\0'; // do not force a symbol, if only real part present
- const sal_Unicode* pStr = ( const sal_Unicode * ) rStr;
+ const sal_Unicode* pStr = rStr.getStr();
if( IsImagUnit( *pStr ) && rStr.getLength() == 1)
{
diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx
index 98391048963e..80961bac1b0d 100644
--- a/scaddins/source/datefunc/datefunc.cxx
+++ b/scaddins/source/datefunc/datefunc.cxx
@@ -329,8 +329,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;