summaryrefslogtreecommitdiff
path: root/include/oox
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-07-21 19:20:27 +0300
committerTor Lillqvist <tml@collabora.com>2014-07-21 19:20:27 +0300
commit77d6ac27e1815d701e773e1c586b2545fa1f3382 (patch)
treecff468d80426c17c1409ff8de36e7b61d3c02ccd /include/oox
parent55a639f6b3f0b78eac0f4c16c28baf6a51b1d623 (diff)
WaE: passing class rtl::OUString by value, rather pass by reference
Change-Id: Ib332d04fa27501ec35267b5e389c2979c9c55be2
Diffstat (limited to 'include/oox')
-rw-r--r--include/oox/export/drawingml.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oox/export/drawingml.hxx b/include/oox/export/drawingml.hxx
index db685b140068..f68c5e6428c7 100644
--- a/include/oox/export/drawingml.hxx
+++ b/include/oox/export/drawingml.hxx
@@ -166,7 +166,7 @@ public:
void WriteTransformation( const Rectangle& rRectangle,
sal_Int32 nXmlNamespace, bool bFlipH = false, bool bFlipV = false, sal_Int32 nRotation = 0 );
- void WriteText( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > rXIface, OUString presetWarp, bool bBodyPr = true, bool bText = true, sal_Int32 nXmlNamespace = 0);
+ void WriteText( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > rXIface, const OUString& presetWarp, bool bBodyPr = true, bool bText = true, sal_Int32 nXmlNamespace = 0);
void WriteParagraph( ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextContent > rParagraph );
void WriteParagraphProperties( ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextContent > rParagraph );
void WriteParagraphNumbering( ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > rXPropSet,