diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-09 18:12:43 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-09 18:13:03 +0100 |
commit | 1056f627efb0625ab658f4219a6a3c7002e2022f (patch) | |
tree | dbaff02dd5fe9986ab97cf7c8e6c9113d658e2a7 | |
parent | 31801a402e048b4861cb373687f28ea15ca60ebb (diff) |
loplugin:passstuffbyref
Change-Id: Ibcab688c042e32a81b936573503c4a9066244161
-rw-r--r-- | include/oox/ppt/slidetransition.hxx | 2 | ||||
-rw-r--r-- | oox/source/ppt/slidetransition.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/oox/ppt/slidetransition.hxx b/include/oox/ppt/slidetransition.hxx index 4680320068c0..1e322e0996b1 100644 --- a/include/oox/ppt/slidetransition.hxx +++ b/include/oox/ppt/slidetransition.hxx @@ -54,7 +54,7 @@ namespace oox { namespace ppt { void setOoxTransitionType( ::sal_Int32 OoxType, ::sal_Int32 param1, ::sal_Int32 param2 ); - void setPresetTransition(OUString sPresetTransition); + void setPresetTransition(OUString const & sPresetTransition); private: ::sal_Int16 mnTransitionType; diff --git a/oox/source/ppt/slidetransition.cxx b/oox/source/ppt/slidetransition.cxx index 6681447b2eb2..0fe0b10a6fec 100644 --- a/oox/source/ppt/slidetransition.cxx +++ b/oox/source/ppt/slidetransition.cxx @@ -419,7 +419,7 @@ namespace oox { namespace ppt { } } - void SlideTransition::setPresetTransition(OUString sPresetTransition) + void SlideTransition::setPresetTransition(OUString const & sPresetTransition) { if (sPresetTransition == "fallOver") { |