summaryrefslogtreecommitdiff
path: root/reportdesign/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-25 13:31:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-26 03:04:57 +0200
commit5440274a2a295fb2662ea415f25b89fc298930c8 (patch)
tree12bd533de441a263c4fb8ecb83846b7d32906d67 /reportdesign/inc
parent4e67474a6e4dbfeff5316dcf08b44cfead148609 (diff)
loplugin:constmethod in reportdesign
Change-Id: I0076890abb4b5bb179171353b19097f6ebf8aa31 Reviewed-on: https://gerrit.libreoffice.org/79542 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign/inc')
-rw-r--r--reportdesign/inc/RptPage.hxx2
-rw-r--r--reportdesign/inc/UndoActions.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/inc/RptPage.hxx b/reportdesign/inc/RptPage.hxx
index 80d65c6777f6..abfa883f93eb 100644
--- a/reportdesign/inc/RptPage.hxx
+++ b/reportdesign/inc/RptPage.hxx
@@ -71,7 +71,7 @@ public:
void removeSdrObject(const css::uno::Reference< css::report::XReportComponent >& _xObject);
void setSpecialMode() {m_bSpecialInsertMode = true;}
- bool getSpecialMode() {return m_bSpecialInsertMode;}
+ bool getSpecialMode() const {return m_bSpecialInsertMode;}
// all temporary objects will remove and destroy
void resetSpecialMode();
diff --git a/reportdesign/inc/UndoActions.hxx b/reportdesign/inc/UndoActions.hxx
index 883d409f9e93..4b52aeef31fb 100644
--- a/reportdesign/inc/UndoActions.hxx
+++ b/reportdesign/inc/UndoActions.hxx
@@ -64,7 +64,7 @@ namespace rptui
}
css::uno::Reference< css::report::XSection > getHeader() { return m_xGroup->getHeader(); }
css::uno::Reference< css::report::XSection > getFooter() { return m_xGroup->getFooter(); }
- const css::uno::Reference< css::report::XGroup >& getGroup() { return m_xGroup; }
+ const css::uno::Reference< css::report::XGroup >& getGroup() const { return m_xGroup; }
bool getHeaderOn() { return m_xGroup->getHeaderOn(); }
bool getFooterOn() { return m_xGroup->getFooterOn(); }