summaryrefslogtreecommitdiff
path: root/scaddins
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-01 14:49:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-01 20:34:21 +0000
commit60fe537a3b7a9fdfd3e34fe3d13dd64624ba514f (patch)
tree97b0f4aaf193870a91ba0a7fd6787abaacdcbcc7 /scaddins
parent770632cabb87d3f0c04e0cd39609fdf6f7ec1825 (diff)
avoid implicit cast
Diffstat (limited to 'scaddins')
-rw-r--r--scaddins/source/analysis/analysishelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/scaddins/source/analysis/analysishelper.cxx b/scaddins/source/analysis/analysishelper.cxx
index f9dfcf206215..6c47e187f194 100644
--- a/scaddins/source/analysis/analysishelper.cxx
+++ b/scaddins/source/analysis/analysishelper.cxx
@@ -1708,7 +1708,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)
{