Kaydet (Commit) cf287f4e authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: passing class rtl::OUString by value, rather pass by reference

Change-Id: I05aa9a5ad5d97a1ead3d30298f45e7aeb62d0652
üst 57320f34
......@@ -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
......
......@@ -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" )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment