summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-17 09:16:07 +0200
committerNoel Grandin <noel@peralex.com>2014-03-17 13:30:51 +0200
commitcc2700245d911c14114ce7346357b1a4d008cc06 (patch)
tree01cbc1d1796ac8bab2e844d6d8bb29d8932fac3b /sd/inc
parent769a6c20c4eb9e081cdc46dd638f67927fc7bc25 (diff)
sd: prefer passing OUString by reference
Change-Id: Ide21e1f51284fb2d4c7aaaa358417c6080b2fdde
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/TransitionPreset.hxx2
-rw-r--r--sd/inc/sdpage.hxx2
2 files changed, 2 insertions, 2 deletions
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; }