[Libreoffice-commits] .: vbahelper/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Dec 30 13:10:11 PST 2010
vbahelper/source/vbahelper/vbacommandbar.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 95614f68d1cbff0dca93ec08267bc4717397c1e5
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Dec 30 21:10:02 2010 +0000
cppcheck: this method can be const
diff --git a/vbahelper/source/vbahelper/vbacommandbar.hxx b/vbahelper/source/vbahelper/vbacommandbar.hxx
index de9c32c..a8fd71a 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);
More information about the Libreoffice-commits
mailing list