summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-23 14:59:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-23 19:34:49 +0200
commit09cd0e363d6c5b0e7b9cebc598030a7e3d397922 (patch)
tree86c5add3e30f1599618a9e355aaa41d49e394f1f /sc
parent306180ac17ad6f3edfe403fb5b79232717f8e75f (diff)
loplugin:returnconstval in oox
Change-Id: Id83744fcb90d1bf6e6fe048858f48a4944351494 Reviewed-on: https://gerrit.libreoffice.org/78013 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xestream.cxx2
-rw-r--r--sc/source/filter/inc/excelfilter.hxx2
-rw-r--r--sc/source/filter/inc/xestream.hxx2
-rw-r--r--sc/source/filter/oox/excelfilter.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx
index 3a292b545898..98444d6ca0b4 100644
--- a/sc/source/filter/excel/xestream.cxx
+++ b/sc/source/filter/excel/xestream.cxx
@@ -985,7 +985,7 @@ const oox::drawingml::Theme* XclExpXmlStream::getCurrentTheme() const
return nullptr;
}
-const oox::drawingml::table::TableStyleListPtr XclExpXmlStream::getTableStyles()
+oox::drawingml::table::TableStyleListPtr XclExpXmlStream::getTableStyles()
{
return oox::drawingml::table::TableStyleListPtr();
}
diff --git a/sc/source/filter/inc/excelfilter.hxx b/sc/source/filter/inc/excelfilter.hxx
index 0d87691739b2..dfacf12502bf 100644
--- a/sc/source/filter/inc/excelfilter.hxx
+++ b/sc/source/filter/inc/excelfilter.hxx
@@ -44,7 +44,7 @@ public:
virtual const ::oox::drawingml::Theme* getCurrentTheme() const override;
virtual ::oox::vml::Drawing* getVmlDrawing() override;
- virtual const ::oox::drawingml::table::TableStyleListPtr getTableStyles() override;
+ virtual ::oox::drawingml::table::TableStyleListPtr getTableStyles() override;
virtual ::oox::drawingml::chart::ChartConverter* getChartConverter() override;
virtual void useInternalChartDataTable( bool bInternal ) override;
diff --git a/sc/source/filter/inc/xestream.hxx b/sc/source/filter/inc/xestream.hxx
index 29733bb67a8e..93b070a55da9 100644
--- a/sc/source/filter/inc/xestream.hxx
+++ b/sc/source/filter/inc/xestream.hxx
@@ -310,7 +310,7 @@ public:
virtual bool importDocument() throw() override;
virtual oox::vml::Drawing* getVmlDrawing() override;
virtual const oox::drawingml::Theme* getCurrentTheme() const override;
- virtual const oox::drawingml::table::TableStyleListPtr getTableStyles() override;
+ virtual oox::drawingml::table::TableStyleListPtr getTableStyles() override;
virtual oox::drawingml::chart::ChartConverter* getChartConverter() override;
private:
diff --git a/sc/source/filter/oox/excelfilter.cxx b/sc/source/filter/oox/excelfilter.cxx
index 2183233b0bee..820c174c37bd 100644
--- a/sc/source/filter/oox/excelfilter.cxx
+++ b/sc/source/filter/oox/excelfilter.cxx
@@ -191,7 +191,7 @@ const ::oox::drawingml::Theme* ExcelFilter::getCurrentTheme() const
return nullptr;
}
-const TableStyleListPtr ExcelFilter::getTableStyles()
+TableStyleListPtr ExcelFilter::getTableStyles()
{
return TableStyleListPtr();
}