From 3ea2c7d282611201066ca7179f2cc830fd777340 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 9 Mar 2011 09:11:48 +0000 Subject: cppcheck: this method can be const --- vbahelper/source/msforms/vbacontrol.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vbahelper') diff --git a/vbahelper/source/msforms/vbacontrol.hxx b/vbahelper/source/msforms/vbacontrol.hxx index 2d52d30c2726..ed384a9b6e75 100644 --- a/vbahelper/source/msforms/vbacontrol.hxx +++ b/vbahelper/source/msforms/vbacontrol.hxx @@ -75,7 +75,7 @@ public: void setGeometryHelper( ov::AbstractGeometryAttributes* pHelper ); // sets the name of the associated library ( used for UserForm controls ) void setLibraryAndCodeName( const rtl::OUString& sLibCodeName ) { m_sLibraryAndCodeName = sLibCodeName; } - rtl::OUString getLibraryAndCodeName() { return m_sLibraryAndCodeName; } + rtl::OUString getLibraryAndCodeName() const { return m_sLibraryAndCodeName; } // XControl virtual sal_Bool SAL_CALL getEnabled() throw (css::uno::RuntimeException); -- cgit