include/oox/drawingml/fillproperties.hxx | 2 +- oox/source/drawingml/fillproperties.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit cf287f4e3ff632b9ffbecc753ef9a17f27b6c04a Author: Tor Lillqvist <t...@collabora.com> Date: Fri May 23 11:36:56 2014 +0300 WaE: passing class rtl::OUString by value, rather pass by reference Change-Id: I05aa9a5ad5d97a1ead3d30298f45e7aeb62d0652 diff --git a/include/oox/drawingml/fillproperties.hxx b/include/oox/drawingml/fillproperties.hxx index dcf3afb..550fd82 100644 --- a/include/oox/drawingml/fillproperties.hxx +++ b/include/oox/drawingml/fillproperties.hxx @@ -86,7 +86,7 @@ struct ArtisticEffectProperties static OUString getEffectString( sal_Int32 nToken ); /** Translate effect strings to tokens. */ - static sal_Int32 getEffectToken( OUString sName ); + static sal_Int32 getEffectToken( const OUString& sName ); }; struct BlipFillProperties diff --git a/oox/source/drawingml/fillproperties.cxx b/oox/source/drawingml/fillproperties.cxx index 9677042..7abd500 100644 --- a/oox/source/drawingml/fillproperties.cxx +++ b/oox/source/drawingml/fillproperties.cxx @@ -701,7 +701,7 @@ OUString ArtisticEffectProperties::getEffectString( sal_Int32 nToken ) return OUString(); } -sal_Int32 ArtisticEffectProperties::getEffectToken( OUString sName ) +sal_Int32 ArtisticEffectProperties::getEffectToken( const OUString& sName ) { // effects if( sName == "artisticBlur" ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits