summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-01-30 17:40:04 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-01-30 17:40:24 +0100
commit0bfa66cdf21fed70828e778c99161bc9005d0457 (patch)
tree4948872a6d89ea0b9fff9e64593f98acbd727a71 /chart2
parentb884c2e0185e24fc498827b3a53becea9e646b85 (diff)
MSVC needs explicit OUString in ?:
Change-Id: I9b7db931ea9bd31824bd27f528c2b6214e80924b
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/charttypes/VSeriesPlotter.cxx12
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);