diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-07-21 19:20:27 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-07-21 19:20:27 +0300 |
commit | 77d6ac27e1815d701e773e1c586b2545fa1f3382 (patch) | |
tree | cff468d80426c17c1409ff8de36e7b61d3c02ccd /oox | |
parent | 55a639f6b3f0b78eac0f4c16c28baf6a51b1d623 (diff) |
WaE: passing class rtl::OUString by value, rather pass by reference
Change-Id: Ib332d04fa27501ec35267b5e389c2979c9c55be2
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/drawingml.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index a303365a7874..6b25c577134f 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -1690,7 +1690,7 @@ void DrawingML::WriteParagraph( Reference< XTextContent > rParagraph ) mpFS->endElementNS( XML_a, XML_p ); } -void DrawingML::WriteText( Reference< XInterface > rXIface, OUString presetWarp, bool bBodyPr, bool bText, sal_Int32 nXmlNamespace ) +void DrawingML::WriteText( Reference< XInterface > rXIface, const OUString& presetWarp, bool bBodyPr, bool bText, sal_Int32 nXmlNamespace ) { Reference< XText > xXText( rXIface, UNO_QUERY ); Reference< XPropertySet > rXPropSet( rXIface, UNO_QUERY ); |