From 6c6c1eea82b259c7aec1e0ed5ff86bfd2eb0243f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 28 Sep 2019 10:01:37 +0200 Subject: loplugin:constmethod in sw Change-Id: I73c3c6d2165287d2d581a04b23b1d3b48166a488 Reviewed-on: https://gerrit.libreoffice.org/79780 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/inc/srcedtw.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/uibase/inc/srcedtw.hxx') diff --git a/sw/source/uibase/inc/srcedtw.hxx b/sw/source/uibase/inc/srcedtw.hxx index beb43502c158..5a12c3b01cf3 100644 --- a/sw/source/uibase/inc/srcedtw.hxx +++ b/sw/source/uibase/inc/srcedtw.hxx @@ -136,7 +136,7 @@ public: { return m_pTextEngine->IsModified();} void SetReadonly(bool bSet){m_bReadonly = bSet;} - bool IsReadonly(){return m_bReadonly;} + bool IsReadonly() const {return m_bReadonly;} void SetStartLine(sal_uInt16 nLine){m_nStartLine = nLine;} -- cgit