summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-30 21:10:02 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-30 21:10:02 +0000
commit95614f68d1cbff0dca93ec08267bc4717397c1e5 (patch)
treecd1fd6115f43a9c35cc29cf91270fae5543ea14f /vbahelper
parentb170fc5064c03909ccd503dc8cca5f3a9492adf5 (diff)
cppcheck: this method can be const
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/vbahelper/vbacommandbar.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/source/vbahelper/vbacommandbar.hxx b/vbahelper/source/vbahelper/vbacommandbar.hxx
index de9c32c350..a8fd71a164 100644
--- a/vbahelper/source/vbahelper/vbacommandbar.hxx
+++ b/vbahelper/source/vbahelper/vbacommandbar.hxx
@@ -53,7 +53,7 @@ private:
public:
ScVbaCommandBar( const css::uno::Reference< ov::XHelperInterface > xParent, const css::uno::Reference< css::uno::XComponentContext > xContext, VbaCommandBarHelperRef pHelper, const css::uno::Reference< css::container::XIndexAccess >& xBarSettings, const rtl::OUString& sResourceUrl, sal_Bool bIsMenu, sal_Bool bTemporary = sal_True ) throw( css::uno::RuntimeException );
- sal_Bool IsMenu() { return m_bIsMenu; }
+ sal_Bool IsMenu() const { return m_bIsMenu; }
// Attributes
virtual ::rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException);