diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-18 09:32:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-18 20:10:57 +0200 |
commit | 31f04378dbc07d4367dc3b66163aaed171cf0323 (patch) | |
tree | 803e8caa6fa9cecdab5e1a0047fbd334fd2ab1ee /svx | |
parent | 2836b78b54650d117282a9a345677d1b4d9fc043 (diff) |
loplugin:passstuffbyref
Change-Id: Icb7c22cf4ac95eab54d04e79312fb471ca27bceb
Reviewed-on: https://gerrit.libreoffice.org/74246
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/charmap.cxx | 2 | ||||
-rw-r--r-- | svx/source/stbctrls/zoomctrl.cxx | 2 | ||||
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/charmap.cxx b/svx/source/dialog/charmap.cxx index 52401b486bc8..718213bafb2e 100644 --- a/svx/source/dialog/charmap.cxx +++ b/svx/source/dialog/charmap.cxx @@ -851,7 +851,7 @@ sal_Int32 SvxShowCharSet::getMaxCharCount() const return mxFontCharMap->GetCharCount(); } -FontCharMapRef SvxShowCharSet::GetFontCharMap() +FontCharMapRef const & SvxShowCharSet::GetFontCharMap() { RecalculateFont(*mxVirDev); return mxFontCharMap; diff --git a/svx/source/stbctrls/zoomctrl.cxx b/svx/source/stbctrls/zoomctrl.cxx index 34e0b26c5495..421fdb64704d 100644 --- a/svx/source/stbctrls/zoomctrl.cxx +++ b/svx/source/stbctrls/zoomctrl.cxx @@ -49,7 +49,7 @@ public: ZoomPopup_Impl( sal_uInt16 nZ, SvxZoomEnableFlags nValueSet ); sal_uInt16 GetZoom(); - OString GetCurItemIdent() const { return m_xMenu->GetCurItemIdent(); } + OString const & GetCurItemIdent() const { return m_xMenu->GetCurItemIdent(); } sal_uInt16 Execute(vcl::Window* pWindow, const Point& rPopupPos) { diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index 929e0350ec22..c34c3a153307 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -805,7 +805,7 @@ uno::Sequence< uno::Type > SAL_CALL SvxShape::getTypes() } -uno::Sequence< uno::Type > SvxShape::_getTypes() +uno::Sequence< uno::Type > const & SvxShape::_getTypes() { switch( mpImpl->mnObjId ) { |