summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2012-10-25 14:58:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-10-25 14:47:12 +0000
commit3e79318d5c58ca44426069b668f315b065fa6376 (patch)
treefdd0321d848fd65776ab80bd052fe760429b6b18 /xmloff
parentd3fb6d227c77198aa0b70d6f5260ff239f5d692c (diff)
WaE: 'xChartType$D57056$_pInterface' may be used uninitialized…
… in this function" declaring those functions static breaks the build on MacPPC / gcc 4.0.1 Change-Id: I3a389530d51ae0ddd38418159ca4234016bf93ba Reviewed-on: https://gerrit.libreoffice.org/911 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/chart/SchXMLSeriesHelper.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmloff/source/chart/SchXMLSeriesHelper.cxx b/xmloff/source/chart/SchXMLSeriesHelper.cxx
index 21c1aeb8b8e0..4a71fd095da1 100644
--- a/xmloff/source/chart/SchXMLSeriesHelper.cxx
+++ b/xmloff/source/chart/SchXMLSeriesHelper.cxx
@@ -114,7 +114,8 @@ using ::rtl::OUString;
return aRet;
}
-static uno::Reference< chart2::XChartType > lcl_getChartTypeOfSeries(
+namespace {
+uno::Reference< chart2::XChartType > lcl_getChartTypeOfSeries(
const uno::Reference< chart2::XDiagram >& xDiagram
, const Reference< chart2::XDataSeries >& xSeries )
{
@@ -162,6 +163,7 @@ static uno::Reference< chart2::XChartType > lcl_getChartTypeOfSeries(
}
return 0;
}
+}
bool SchXMLSeriesHelper::isCandleStickSeries(
const Reference< chart2::XDataSeries >& xSeries