From 2559a2a0567dbc392ceb34057c0dc5078bbb9474 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 21 Oct 2017 18:04:51 +0200 Subject: loplugin:constmethod in cppu,cppuhelper,idlc Change-Id: I9138b7e5d53c30488f99e9f9b9fe3f98c8d6858b Reviewed-on: https://gerrit.libreoffice.org/43583 Tested-by: Jenkins Reviewed-by: Noel Grandin --- idlc/inc/astdeclaration.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'idlc/inc/astdeclaration.hxx') diff --git a/idlc/inc/astdeclaration.hxx b/idlc/inc/astdeclaration.hxx index 9cbd8c95e248..8f4293a97cbf 100644 --- a/idlc/inc/astdeclaration.hxx +++ b/idlc/inc/astdeclaration.hxx @@ -68,7 +68,7 @@ public: { return m_localName; } const OString& getScopedName() const { return m_scopedName; } - const OString& getFullName() + const OString& getFullName() const { return m_fullName; } virtual const sal_Char* getRelativName() const { return m_fullName.getStr()+1; } @@ -108,7 +108,7 @@ public: virtual bool dump(RegistryKey& rKey); - bool isPredefined() { return m_bPredefined; } + bool isPredefined() const { return m_bPredefined; } void setPredefined(bool bPredefined); protected: -- cgit