diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-29 14:15:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-29 18:19:37 +0100 |
commit | 4b030651a0ad5e0eedd6d08b6cd1459ca514d818 (patch) | |
tree | 5a02580a42d8593c3afc9f39816128562a9cfc6b /filter | |
parent | loplugin:unnecessaryparen improve return check (diff) | |
download | core-4b030651a0ad5e0eedd6d08b6cd1459ca514d818.tar.gz core-4b030651a0ad5e0eedd6d08b6cd1459ca514d818.zip |
loplugin:passstuffbyref improved return in various
Change-Id: I0a8282d8e0d9575b055243073fc89a7d6b67b560
Reviewed-on: https://gerrit.libreoffice.org/47173
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/mstoolbar.cxx | 2 | ||||
-rw-r--r-- | filter/source/svg/impsvgdialog.cxx | 2 | ||||
-rw-r--r-- | filter/source/svg/impsvgdialog.hxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/msfilter/mstoolbar.cxx b/filter/source/msfilter/mstoolbar.cxx index 35bfecb37dae..fff43f3f9693 100644 --- a/filter/source/msfilter/mstoolbar.cxx +++ b/filter/source/msfilter/mstoolbar.cxx @@ -423,7 +423,7 @@ TBCExtraInfo::Print( FILE* fp ) } #endif -OUString +OUString const & TBCExtraInfo::getOnAction() { return wstrOnAction.getString(); diff --git a/filter/source/svg/impsvgdialog.cxx b/filter/source/svg/impsvgdialog.cxx index d0248bfafcac..9aebbb56a924 100644 --- a/filter/source/svg/impsvgdialog.cxx +++ b/filter/source/svg/impsvgdialog.cxx @@ -109,7 +109,7 @@ void ImpSVGDialog::dispose() } -Sequence< PropertyValue > ImpSVGDialog::GetFilterData() +Sequence< PropertyValue > const & ImpSVGDialog::GetFilterData() { maConfigItem.WriteBool( SVG_PROP_TINYPROFILE, maCBTinyProfile->IsChecked() ); maConfigItem.WriteBool( SVG_PROP_EMBEDFONTS, maCBEmbedFonts->IsChecked() ); diff --git a/filter/source/svg/impsvgdialog.hxx b/filter/source/svg/impsvgdialog.hxx index 9f1d04fa9a32..d2d205cfe5ea 100644 --- a/filter/source/svg/impsvgdialog.hxx +++ b/filter/source/svg/impsvgdialog.hxx @@ -66,7 +66,7 @@ public: virtual ~ImpSVGDialog() override; virtual void dispose() override; - css::uno::Sequence< css::beans::PropertyValue > GetFilterData(); + css::uno::Sequence< css::beans::PropertyValue > const & GetFilterData(); }; #endif // INCLUDED_FILTER_SOURCE_SVG_IMPSVGDIALOG_HXX |