diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-01-30 17:40:04 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-01-30 17:40:24 +0100 |
commit | 0bfa66cdf21fed70828e778c99161bc9005d0457 (patch) | |
tree | 4948872a6d89ea0b9fff9e64593f98acbd727a71 /chart2/source | |
parent | b884c2e0185e24fc498827b3a53becea9e646b85 (diff) |
MSVC needs explicit OUString in ?:
Change-Id: I9b7db931ea9bd31824bd27f528c2b6214e80924b
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/view/charttypes/VSeriesPlotter.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx index 3caa6604f673..d32638c8b3e2 100644 --- a/chart2/source/view/charttypes/VSeriesPlotter.cxx +++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx @@ -642,8 +642,8 @@ double lcl_getErrorBarLogicLength( { double fPercent = 0; if( xProp->getPropertyValue( bPositive - ? "PositiveError" - : "NegativeError") >>= fPercent ) + ? OUString("PositiveError") + : OUString("NegativeError") ) >>= fPercent ) { if( nIndex >=0 && nIndex < rData.getLength() && ! ::rtl::math::isNan( rData[nIndex] ) && @@ -656,16 +656,16 @@ double lcl_getErrorBarLogicLength( break; case ::com::sun::star::chart::ErrorBarStyle::ABSOLUTE: xProp->getPropertyValue( bPositive - ? "PositiveError" - : "NegativeError") >>= fResult; + ? OUString("PositiveError") + : OUString("NegativeError") ) >>= fResult; break; case ::com::sun::star::chart::ErrorBarStyle::ERROR_MARGIN: { // todo: check if this is really what's called error-margin double fPercent = 0; if( xProp->getPropertyValue( bPositive - ? "PositiveError" - : "NegativeError") >>= fPercent ) + ? OUString("PositiveError") + : OUString("NegativeError") ) >>= fPercent ) { double fMaxValue; ::rtl::math::setInf(&fMaxValue, true); |