summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography/toolbar.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-17 11:25:23 +0200
committerNoel Grandin <noel@peralex.com>2014-03-17 13:30:53 +0200
commitb69dcab522f04d914f5f2ded350032bc3840c312 (patch)
tree5c5b0dbce39b857c98003c577fb55370481be3e2 /extensions/source/bibliography/toolbar.hxx
parent1d6fd96df71265730550e68878a1d2856761a2f3 (diff)
extensions: prefer passing OUString by reference
Change-Id: Ic411b2776d0c054d59bfdc847f67785c85c5cb9e
Diffstat (limited to 'extensions/source/bibliography/toolbar.hxx')
-rw-r--r--extensions/source/bibliography/toolbar.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/bibliography/toolbar.hxx b/extensions/source/bibliography/toolbar.hxx
index 7fbe16358f66..86da81ad918c 100644
--- a/extensions/source/bibliography/toolbar.hxx
+++ b/extensions/source/bibliography/toolbar.hxx
@@ -48,7 +48,7 @@ protected:
public:
- BibToolBarListener(BibToolBar *pTB,OUString aStr,sal_uInt16 nId);
+ BibToolBarListener(BibToolBar *pTB, const OUString& aStr, sal_uInt16 nId);
~BibToolBarListener();
OUString GetCommand() const;
@@ -68,7 +68,7 @@ class BibTBListBoxListener: public BibToolBarListener
{
public:
- BibTBListBoxListener(BibToolBar *pTB,OUString aStr,sal_uInt16 nId);
+ BibTBListBoxListener(BibToolBar *pTB, const OUString& aStr, sal_uInt16 nId);
~BibTBListBoxListener();
virtual void SAL_CALL statusChanged(const ::com::sun::star::frame::FeatureStateEvent& Event)
@@ -80,7 +80,7 @@ class BibTBEditListener: public BibToolBarListener
{
public:
- BibTBEditListener(BibToolBar *pTB,OUString aStr,sal_uInt16 nId);
+ BibTBEditListener(BibToolBar *pTB, const OUString& aStr, sal_uInt16 nId);
~BibTBEditListener();
virtual void SAL_CALL statusChanged(const ::com::sun::star::frame::FeatureStateEvent& Event)
@@ -92,7 +92,7 @@ class BibTBQueryMenuListener: public BibToolBarListener
{
public:
- BibTBQueryMenuListener(BibToolBar *pTB,OUString aStr,sal_uInt16 nId);
+ BibTBQueryMenuListener(BibToolBar *pTB, const OUString& aStr, sal_uInt16 nId);
~BibTBQueryMenuListener();
virtual void SAL_CALL statusChanged(const ::com::sun::star::frame::FeatureStateEvent& Event)