From 3e79318d5c58ca44426069b668f315b065fa6376 Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Thu, 25 Oct 2012 14:58:03 +0200 Subject: WaE: 'xChartType$D57056$_pInterface' may be used uninitialized… MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … 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 Tested-by: Stephan Bergmann --- oox/source/export/SchXMLSeriesHelper.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'oox') diff --git a/oox/source/export/SchXMLSeriesHelper.cxx b/oox/source/export/SchXMLSeriesHelper.cxx index 0d5b034ad31b..e91f2efe1414 100644 --- a/oox/source/export/SchXMLSeriesHelper.cxx +++ b/oox/source/export/SchXMLSeriesHelper.cxx @@ -100,7 +100,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 ) { @@ -148,6 +149,7 @@ static uno::Reference< chart2::XChartType > lcl_getChartTypeOfSeries( } return 0; } +} bool SchXMLSeriesHelper::isCandleStickSeries( const Reference< chart2::XDataSeries >& xSeries -- cgit