summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-09 09:11:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-09 09:11:48 +0000
commit8040f107ea52c5b3e3f7d64758a93f846b7fa62b (patch)
tree83c7a83a8d728fe49384ee4b8301e4ef11326e36
parent63ca6fd9b2bd4e276218011913a2d2e24146c768 (diff)
cppcheck: this method can be const
-rw-r--r--vbahelper/source/msforms/vbacontrol.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/source/msforms/vbacontrol.hxx b/vbahelper/source/msforms/vbacontrol.hxx
index ed7004a1e4..4f2437c7e1 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);