summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/rootfrm.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-28 10:01:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-28 11:28:41 +0200
commit6c6c1eea82b259c7aec1e0ed5ff86bfd2eb0243f (patch)
tree87e8ccbbfc4d369e079098eb8be09abf988f1c44 /sw/source/core/inc/rootfrm.hxx
parentfc79f23922ccae8b494b31a5dd7bb4767e50c87e (diff)
loplugin:constmethod in sw
Change-Id: I73c3c6d2165287d2d581a04b23b1d3b48166a488 Reviewed-on: https://gerrit.libreoffice.org/79780 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/inc/rootfrm.hxx')
-rw-r--r--sw/source/core/inc/rootfrm.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/inc/rootfrm.hxx b/sw/source/core/inc/rootfrm.hxx
index c3e5d7e48a69..484ff172e25d 100644
--- a/sw/source/core/inc/rootfrm.hxx
+++ b/sw/source/core/inc/rootfrm.hxx
@@ -274,7 +274,7 @@ public:
/// Makes sure that all requested page-bound Flys find a Page
void SetAssertFlyPages() { mbAssertFlyPages = true; }
void AssertFlyPages();
- bool IsAssertFlyPages() { return mbAssertFlyPages; }
+ bool IsAssertFlyPages() const { return mbAssertFlyPages; }
/**
* Makes sure that, starting from the passed Page, all page-bound Frames
@@ -344,7 +344,7 @@ public:
bool IsTurboAllowed() const { return mbTurboAllowed; }
void SetTurbo( const SwContentFrame *pContent ) { mpTurbo = pContent; }
void ResetTurbo() { mpTurbo = nullptr; }
- const SwContentFrame *GetTurbo() { return mpTurbo; }
+ const SwContentFrame *GetTurbo() const { return mpTurbo; }
/// Update the footnote numbers of all Pages
void UpdateFootnoteNums(); // Only for page by page numbering!