[Libreoffice-commits] .: extensions/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Dec 29 12:58:29 PST 2010
extensions/source/bibliography/toolbar.cxx | 2 +-
extensions/source/bibliography/toolbar.hxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 723d963a2c202dda920f4940b54c7e900d4ec8d8
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Dec 24 14:27:45 2010 +0000
cppcheck: this can be const
diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx
index 152bace..f5d7a8b 100644
--- a/extensions/source/bibliography/toolbar.cxx
+++ b/extensions/source/bibliography/toolbar.cxx
@@ -87,7 +87,7 @@ void BibToolBarListener::statusChanged(const ::com::sun::star::frame::FeatureSta
}
};
-rtl::OUString BibToolBarListener::GetCommand()
+rtl::OUString BibToolBarListener::GetCommand() const
{
return aCommand;
}
diff --git a/extensions/source/bibliography/toolbar.hxx b/extensions/source/bibliography/toolbar.hxx
index 63c4e9b..4601fca 100644
--- a/extensions/source/bibliography/toolbar.hxx
+++ b/extensions/source/bibliography/toolbar.hxx
@@ -60,7 +60,7 @@ public:
BibToolBarListener(BibToolBar *pTB,rtl::OUString aStr,sal_uInt16 nId);
~BibToolBarListener();
- rtl::OUString GetCommand();
+ rtl::OUString GetCommand() const;
// ::com::sun::star::lang::XEventListener
// we do not hold References to dispatches, so there is nothing to do on disposal
More information about the Libreoffice-commits
mailing list