summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/unoaprms.hxx
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/source/ui/inc/unoaprms.hxx
parent769a6c20c4eb9e081cdc46dd638f67927fc7bc25 (diff)
sd: prefer passing OUString by reference
Change-Id: Ide21e1f51284fb2d4c7aaaa358417c6080b2fdde
Diffstat (limited to 'sd/source/ui/inc/unoaprms.hxx')
-rw-r--r--sd/source/ui/inc/unoaprms.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/inc/unoaprms.hxx b/sd/source/ui/inc/unoaprms.hxx
index e866a7c650a7..678641dc9e8a 100644
--- a/sd/source/ui/inc/unoaprms.hxx
+++ b/sd/source/ui/inc/unoaprms.hxx
@@ -104,7 +104,7 @@ public:
{ bOldDimHide = bTheOldDimHide; bNewDimHide = bTheNewDimHide; }
void SetSoundOn(sal_Bool bTheOldSoundOn, sal_Bool bTheNewSoundOn)
{ bOldSoundOn = bTheOldSoundOn; bNewSoundOn = bTheNewSoundOn; }
- void SetSound(OUString aTheOldSound, OUString aTheNewSound)
+ void SetSound(const OUString& aTheOldSound, const OUString& aTheNewSound)
{ aOldSoundFile = aTheOldSound; aNewSoundFile = aTheNewSound; }
void SetBlueScreen(Color aTheOldBlueScreen, Color aTheNewBlueScreen)
{ aOldBlueScreen = aTheOldBlueScreen; aNewBlueScreen = aTheNewBlueScreen; }
@@ -114,7 +114,7 @@ public:
{ pOldPathObj = pTheOldPath; pNewPathObj = pTheNewPath; }
void SetClickAction(::com::sun::star::presentation::ClickAction eTheOldAction, ::com::sun::star::presentation::ClickAction eTheNewAction)
{ eOldClickAction = eTheOldAction; eNewClickAction = eTheNewAction; }
- void SetBookmark(OUString aTheOldBookmark, OUString aTheNewBookmark)
+ void SetBookmark(const OUString& aTheOldBookmark, const OUString& aTheNewBookmark)
{ aOldBookmark = aTheOldBookmark; aNewBookmark = aTheNewBookmark; }
void SetInvisibleInPres(sal_Bool bTheOldInvisibleInPres, sal_Bool bTheNewInvisibleInPres)
{ bOldInvisibleInPres = bTheOldInvisibleInPres; bNewInvisibleInPres = bTheNewInvisibleInPres; }