diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 14:49:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 20:34:21 +0000 |
commit | 60fe537a3b7a9fdfd3e34fe3d13dd64624ba514f (patch) | |
tree | 97b0f4aaf193870a91ba0a7fd6787abaacdcbcc7 /scaddins | |
parent | 770632cabb87d3f0c04e0cd39609fdf6f7ec1825 (diff) |
avoid implicit cast
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/source/analysis/analysishelper.cxx | 2 |
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) { |