diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-09 09:11:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-09 09:11:48 +0000 |
commit | 3ea2c7d282611201066ca7179f2cc830fd777340 (patch) | |
tree | c8896ae4a3836d7f806d5deab06d1e12463149dd /vbahelper | |
parent | 3a6a7b876010db041fa641b6703e26027a22e511 (diff) |
cppcheck: this method can be const
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/source/msforms/vbacontrol.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); |