summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-25 14:59:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-26 09:06:51 +0100
commit8bb04558b97a84ec45e0e93b91fa8b4c226f9032 (patch)
tree2f6e48e0021524dcd3958ac18d5400a6f0b97049 /oox
parent99df964c96bc1b715ae6ece47629a5d7afb2a945 (diff)
loplugin:unnnecessaryvirtual
Change-Id: I2aa9a8f14b6db2098931a14c6eed522a9d2653ed Reviewed-on: https://gerrit.libreoffice.org/69682 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/chart/objectformatter.cxx4
-rw-r--r--oox/source/helper/graphichelper.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/oox/source/drawingml/chart/objectformatter.cxx b/oox/source/drawingml/chart/objectformatter.cxx
index f97bd780bf3e..9c64530a70ad 100644
--- a/oox/source/drawingml/chart/objectformatter.cxx
+++ b/oox/source/drawingml/chart/objectformatter.cxx
@@ -823,8 +823,8 @@ LineFormatter::LineFormatter( ObjectFormatterData& rData, const AutoFormatEntry*
// set automatic border property for chartarea, because of tdf#81437 and tdf#82217
if ( eObjType == OBJECTTYPE_CHARTSPACE )
{
- mxAutoLine->maLineFill.moFillType = rData.mrFilter.getGraphicHelper().getDefaultChartAreaLineStyle();
- mxAutoLine->moLineWidth = rData.mrFilter.getGraphicHelper().getDefaultChartAreaLineWidth();
+ mxAutoLine->maLineFill.moFillType = oox::GraphicHelper::getDefaultChartAreaLineStyle();
+ mxAutoLine->moLineWidth = oox::GraphicHelper::getDefaultChartAreaLineWidth();
// this value is what MSO 2016 use as a default color for chartspace border
mxAutoLine->maLineFill.maFillColor.setSrgbClr( 0xD9D9D9 );
}
diff --git a/oox/source/helper/graphichelper.cxx b/oox/source/helper/graphichelper.cxx
index b720aeab8746..6ada6cd5a5a0 100644
--- a/oox/source/helper/graphichelper.cxx
+++ b/oox/source/helper/graphichelper.cxx
@@ -165,12 +165,12 @@ sal_Int32 GraphicHelper::getDefaultChartAreaFillStyle() const
return XML_solidFill;
}
-sal_Int32 GraphicHelper::getDefaultChartAreaLineStyle() const
+sal_Int32 GraphicHelper::getDefaultChartAreaLineStyle()
{
return XML_solidFill;
}
-sal_Int16 GraphicHelper::getDefaultChartAreaLineWidth() const
+sal_Int16 GraphicHelper::getDefaultChartAreaLineWidth()
{
// this value is what MSO 2016 writes fixing incomplete MSO 2010 documents (0.75 pt in emu)
return 9525;