[Libreoffice-commits] core.git: include/oox oox/source
Stephan Bergmann
sbergman at redhat.com
Mon Nov 9 09:13:28 PST 2015
include/oox/ppt/slidetransition.hxx | 2 +-
oox/source/ppt/slidetransition.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 1056f627efb0625ab658f4219a6a3c7002e2022f
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Nov 9 18:12:43 2015 +0100
loplugin:passstuffbyref
Change-Id: Ibcab688c042e32a81b936573503c4a9066244161
diff --git a/include/oox/ppt/slidetransition.hxx b/include/oox/ppt/slidetransition.hxx
index 4680320..1e322e0 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 6681447..0fe0b10 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")
{
More information about the Libreoffice-commits
mailing list