From 4e67474a6e4dbfeff5316dcf08b44cfead148609 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 25 Sep 2019 13:31:06 +0200 Subject: loplugin:constmethod in framework..lotuswordpro Change-Id: I14a3855a75cf081d86c2a404966db38c617c0256 Reviewed-on: https://gerrit.libreoffice.org/79541 Tested-by: Jenkins Reviewed-by: Noel Grandin --- lotuswordpro/source/filter/lwpframelayout.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lotuswordpro/source/filter/lwpframelayout.hxx') diff --git a/lotuswordpro/source/filter/lwpframelayout.hxx b/lotuswordpro/source/filter/lwpframelayout.hxx index 342770a2ea5e..a243de61643c 100644 --- a/lotuswordpro/source/filter/lwpframelayout.hxx +++ b/lotuswordpro/source/filter/lwpframelayout.hxx @@ -189,7 +189,7 @@ public: virtual LWP_LAYOUT_TYPE GetLayoutType () override { return LWP_DROPCAP_LAYOUT;} virtual void Parse(IXFStream* pOutputStream) override; virtual void XFConvert(XFContentContainer* pCont) override; - sal_uInt16 GetLines(){return m_nLines;} + sal_uInt16 GetLines() const {return m_nLines;} void SetChars(sal_uInt32 nChars){ m_nChars += nChars;} sal_uInt32 GetChars() const {return m_nChars;} void RegisterStyle(LwpFoundry* pFoundry); -- cgit