Kaydet (Commit) 3e79318d authored tarafından Christian Lohmaier's avatar Christian Lohmaier Kaydeden (comit) Stephan Bergmann

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/911Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
Tested-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst d3fb6d22
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment