summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porlay.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/text/porlay.hxx')
-rw-r--r--sw/source/core/text/porlay.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/porlay.hxx b/sw/source/core/text/porlay.hxx
index 2997b88c763d..2cbcd06c4824 100644
--- a/sw/source/core/text/porlay.hxx
+++ b/sw/source/core/text/porlay.hxx
@@ -162,7 +162,7 @@ public:
virtual bool Format( SwTextFormatInfo &rInf ) override;
// Stuff for justified alignment
- bool IsSpaceAdd() { return m_pLLSpaceAdd != nullptr; }
+ bool IsSpaceAdd() const { return m_pLLSpaceAdd != nullptr; }
void InitSpaceAdd(); // Creates pLLSpaceAdd if necessary
void CreateSpaceAdd( const long nInit = 0 );
void FinishSpaceAdd() { m_pLLSpaceAdd.reset(); }