summaryrefslogtreecommitdiff
path: root/sw/inc/pam.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/pam.hxx')
-rw-r--r--sw/inc/pam.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/pam.hxx b/sw/inc/pam.hxx
index c2a7f34e8391..957f9673b18f 100644
--- a/sw/inc/pam.hxx
+++ b/sw/inc/pam.hxx
@@ -290,7 +290,7 @@ public:
something protected. */
bool HasReadonlySel( bool bFormView, bool bAnnotationMode = false ) const;
- bool ContainsPosition(const SwPosition & rPos)
+ bool ContainsPosition(const SwPosition & rPos) const
{
return *Start() <= rPos && rPos <= *End();
}