diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-04 08:54:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-04 11:52:31 +0200 |
commit | adc20c3937f3119d39af5a0c8e4a439d8127fe63 (patch) | |
tree | 8722ff80bf1cc00e8d099a87767e2290aaab0aa4 /scaddins | |
parent | 06a09dd0ad1e8afcf69e877501036e068d477438 (diff) |
compareToAscii -> equalsAscii
convert places using compareToAscii that should be using equalsAscii
Change-Id: I97b4da7f6e867c3967b2f65b70d6886f83b4a4e5
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/source/analysis/analysis.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scaddins/source/analysis/analysis.cxx b/scaddins/source/analysis/analysis.cxx index 8d2470555740..6349b7b27247 100644 --- a/scaddins/source/analysis/analysis.cxx +++ b/scaddins/source/analysis/analysis.cxx @@ -1153,7 +1153,7 @@ OUString SAL_CALL AnalysisAddIn::getComplex( double fR, double fI, const uno::An { const OUString* pSuff = ( const OUString* ) rSuff.getValue(); bi = pSuff->equalsAscii( "i" ) || pSuff->isEmpty(); - if( !bi && pSuff->compareToAscii( "j" ) != 0 ) + if( !bi && !pSuff->equalsAscii( "j" ) ) throw lang::IllegalArgumentException(); } break; |