From 4b030651a0ad5e0eedd6d08b6cd1459ca514d818 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 29 Dec 2017 14:15:54 +0200 Subject: loplugin:passstuffbyref improved return in various Change-Id: I0a8282d8e0d9575b055243073fc89a7d6b67b560 Reviewed-on: https://gerrit.libreoffice.org/47173 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/oox/export/vmlexport.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/oox/export') diff --git a/include/oox/export/vmlexport.hxx b/include/oox/export/vmlexport.hxx index 0564eff65832..bea395e32ce3 100644 --- a/include/oox/export/vmlexport.hxx +++ b/include/oox/export/vmlexport.hxx @@ -134,10 +134,10 @@ public: /// Export the sdr object as VML. /// /// Call this when you need to export the object as VML. - OString AddSdrObject( const SdrObject& rObj, sal_Int16 eHOri = -1, + OString const & AddSdrObject( const SdrObject& rObj, sal_Int16 eHOri = -1, sal_Int16 eVOri = -1, sal_Int16 eHRel = -1, sal_Int16 eVRel = -1, const bool bOOxmlExport = false ); - OString AddInlineSdrObject( const SdrObject& rObj, const bool bOOxmlExport ); + OString const & AddInlineSdrObject( const SdrObject& rObj, const bool bOOxmlExport ); virtual void AddSdrObjectVMLObject( const SdrObject& rObj) override; static bool IsWaterMarkShape(const OUString& rStr); -- cgit