diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-30 21:10:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-30 21:10:02 +0000 |
commit | eca95b68fe17145d41ce4c77e58033657fd89ce3 (patch) | |
tree | 400f737f6643ef40925de64a19899db8fb6d2977 /vbahelper | |
parent | 9b4eed95a8cb9fbdc474c4a06f7614f0436eda52 (diff) |
cppcheck: this method can be const
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/source/vbahelper/vbacommandbar.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/source/vbahelper/vbacommandbar.hxx b/vbahelper/source/vbahelper/vbacommandbar.hxx index 707c8194743b..d9278729c144 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); |