summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-05-23 11:36:56 +0300
committerTor Lillqvist <tml@collabora.com>2014-05-23 11:47:51 +0300
commitcf287f4e3ff632b9ffbecc753ef9a17f27b6c04a (patch)
treebc2aa10463ccf3934a5671a198c6773aa4075f57 /include
parentAvoid possible memory leaks in case of exceptions (diff)
downloadcore-cf287f4e3ff632b9ffbecc753ef9a17f27b6c04a.tar.gz
core-cf287f4e3ff632b9ffbecc753ef9a17f27b6c04a.zip
WaE: passing class rtl::OUString by value, rather pass by reference
Change-Id: I05aa9a5ad5d97a1ead3d30298f45e7aeb62d0652
Diffstat (limited to 'include')
-rw-r--r--include/oox/drawingml/fillproperties.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oox/drawingml/fillproperties.hxx b/include/oox/drawingml/fillproperties.hxx
index dcf3afbfd230..550fd825176b 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