chart2/source/tools/StatisticsHelper.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
New commits: commit b0cc48440dc410d283525c0577a1175476b447a9 Author: Michael Stahl <mst...@redhat.com> Date: Wed Jan 30 19:47:51 2013 +0100 chart2: try to make MSVC happy with OUString Change-Id: I4c5a9572e897aa12aad3a8eb5797e4bca2f036cf diff --git a/chart2/source/tools/StatisticsHelper.cxx b/chart2/source/tools/StatisticsHelper.cxx index a955a97..81f47e0 100644 --- a/chart2/source/tools/StatisticsHelper.cxx +++ b/chart2/source/tools/StatisticsHelper.cxx @@ -308,7 +308,8 @@ Reference< beans::XPropertySet > StatisticsHelper::addErrorBars( if( !xSeriesProp.is()) return xErrorBar; - const OUString aPropName( bYError ? "ErrorBarY" : "ErrorBarX"); + const OUString aPropName( + (bYError) ? OUString("ErrorBarY") : OUString("ErrorBarX")); if( !( xSeriesProp->getPropertyValue( aPropName ) >>= xErrorBar ) || !xErrorBar.is()) { @@ -332,7 +333,8 @@ Reference< beans::XPropertySet > StatisticsHelper::getErrorBars( { Reference< beans::XPropertySet > xSeriesProp( xDataSeries, uno::UNO_QUERY ); Reference< beans::XPropertySet > xErrorBar; - const OUString aPropName( bYError ? "ErrorBarY" : "ErrorBarX"); + const OUString aPropName( + (bYError) ? OUString("ErrorBarY") : OUString("ErrorBarX")); if ( xSeriesProp.is()) xSeriesProp->getPropertyValue( aPropName ) >>= xErrorBar; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits