From 4855257e52056241633c2b1d8159c3f0e71e05f3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 31 Dec 2017 21:34:58 +0200 Subject: loplugin:passstuffbyref improved return in sw Change-Id: I4484ac461761e4c46364b4f473c7e62f8ec72103 Reviewed-on: https://gerrit.libreoffice.org/47243 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/inc/ddefld.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/inc/ddefld.hxx') diff --git a/sw/inc/ddefld.hxx b/sw/inc/ddefld.hxx index c79e65a46d7e..a583f247a966 100644 --- a/sw/inc/ddefld.hxx +++ b/sw/inc/ddefld.hxx @@ -55,7 +55,7 @@ public: virtual bool QueryValue( css::uno::Any& rVal, sal_uInt16 nWhich ) const override; virtual bool PutValue( const css::uno::Any& rVal, sal_uInt16 nWhich ) override; - OUString GetCmd() const; + OUString const & GetCmd() const; void SetCmd( const OUString& aStr ); SfxLinkUpdateMode GetType() const { return refLink->GetUpdateMode(); } -- cgit