diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-28 17:58:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-28 18:27:01 +0200 |
commit | c9a36f5cb5da15c4441be67913f99c467e734d43 (patch) | |
tree | 4323c5995726d8962e4032b54ceffd36249ec775 /chart2 | |
parent | 681ae20dea7edbc054adad647aa66e4b1e8ce5dc (diff) |
loplugin:salunicodeliteral: chart2
Change-Id: I8531b2466298a18c06a4c2a690af6bc998cc802f
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/tools/PolynomialRegressionCurveCalculator.cxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/XMLRangeHelper.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/tools/PolynomialRegressionCurveCalculator.cxx b/chart2/source/tools/PolynomialRegressionCurveCalculator.cxx index b122cd514001..fbafd9f9def0 100644 --- a/chart2/source/tools/PolynomialRegressionCurveCalculator.cxx +++ b/chart2/source/tools/PolynomialRegressionCurveCalculator.cxx @@ -307,7 +307,7 @@ OUString PolynomialRegressionCurveCalculator::ImplGetRepresentation( OUString aValueOfi = OUString::number( i ); for ( sal_Int32 n = 0; n < aValueOfi.getLength() ; n++ ) { - sal_Int32 nIndex = aValueOfi[n] - sal_Unicode ( '0' ); + sal_Int32 nIndex = aValueOfi[n] - u'0'; aTmpBuf.append( aSuperscriptFigures[ nIndex ] ); } } diff --git a/chart2/source/tools/XMLRangeHelper.cxx b/chart2/source/tools/XMLRangeHelper.cxx index e537054abd64..1a484dbb6db5 100644 --- a/chart2/source/tools/XMLRangeHelper.cxx +++ b/chart2/source/tools/XMLRangeHelper.cxx @@ -385,7 +385,7 @@ OUString getXMLStringFromCellRange( const CellRange & rRange ) if( ! rRange.aLowerRight.empty()) { // we have a range (not a single cell) - aBuffer.append( sal_Unicode( ':' )); + aBuffer.append( u':'); lcl_getXMLStringForCell( rRange.aLowerRight, &aBuffer ); } |