From cc2700245d911c14114ce7346357b1a4d008cc06 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 17 Mar 2014 09:16:07 +0200 Subject: sd: prefer passing OUString by reference Change-Id: Ide21e1f51284fb2d4c7aaaa358417c6080b2fdde --- sd/inc/TransitionPreset.hxx | 2 +- sd/inc/sdpage.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sd/inc') diff --git a/sd/inc/TransitionPreset.hxx b/sd/inc/TransitionPreset.hxx index a09504088cd3..35476da02c8d 100644 --- a/sd/inc/TransitionPreset.hxx +++ b/sd/inc/TransitionPreset.hxx @@ -69,7 +69,7 @@ private: static bool importTransitionsFile( TransitionPresetList& rList, ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory, UStringMap& rTransitionNameMape, - OUString aFilename ); + const OUString& aFilename ); }; } diff --git a/sd/inc/sdpage.hxx b/sd/inc/sdpage.hxx index 40a4dcf15358..f10aef2752b1 100644 --- a/sd/inc/sdpage.hxx +++ b/sd/inc/sdpage.hxx @@ -260,7 +260,7 @@ public: virtual void Changed(const SdrObject& rObj, SdrUserCallType eType, const Rectangle& rOldBoundRect); - void SetLayoutName(OUString aName); + void SetLayoutName(const OUString& aName); virtual OUString GetLayoutName() const { return maLayoutName; } void SetFileName(const OUString& aName) { maFileName = aName; } -- cgit