summaryrefslogtreecommitdiff
path: root/sw/inc/viewsh.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/inc/viewsh.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/inc/viewsh.hxx')
-rw-r--r--sw/inc/viewsh.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx
index 3f11b6d6fe24..dc6472b060cd 100644
--- a/sw/inc/viewsh.hxx
+++ b/sw/inc/viewsh.hxx
@@ -200,7 +200,7 @@ public:
bool IsInEndAction() const { return mbInEndAction; }
void SetEndActionByVirDev( bool b ) { mbEndActionByVirDev = b; }
- bool IsEndActionByVirDev() { return mbEndActionByVirDev; }
+ bool IsEndActionByVirDev() const { return mbEndActionByVirDev; }
// The ActionCount for all Shells is temporarily set to zero and then
// restored at the RootFrame via UNO.
@@ -264,7 +264,7 @@ public:
Point GetPagePos( sal_uInt16 nPageNum ) const;
- sal_uInt16 GetNumPages(); // Ask count of current pages from layout.
+ sal_uInt16 GetNumPages() const; // Ask count of current pages from layout.
bool IsDummyPage( sal_uInt16 nPageNum ) const; // An empty page?
// Invalidate first visible page for all Shells in ring.
@@ -565,7 +565,7 @@ public:
bool IsHeaderFooterEdit() const { return mbHeaderFooterEdit; }
bool IsShowHeaderFooterSeparator( FrameControlType eControl ) { return (eControl == Header)? mbShowHeaderSeparator: mbShowFooterSeparator; }
virtual void SetShowHeaderFooterSeparator( FrameControlType eControl, bool bShow );
- bool IsSelectAll() { return mbSelectAll; }
+ bool IsSelectAll() const { return mbSelectAll; }
void setOutputToWindow(bool bOutputToWindow);
bool isOutputToWindow() const;