sw/source/filter/ww8/docxtablestyleexport.cxx | 2 +- sw/source/filter/ww8/docxtablestyleexport.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit dbdd303ab1cba5bb094aba086196c89811e7b835 Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Fri May 13 10:06:47 2016 +0200 docxtablestyleexport: can pass the serializer by const ref Change-Id: I32409693ffefe753db5b7a5afc2fbec4030e5e93 Reviewed-on: https://gerrit.libreoffice.org/24950 Reviewed-by: Miklos Vajna <vmik...@collabora.co.uk> Tested-by: Jenkins <c...@libreoffice.org> diff --git a/sw/source/filter/ww8/docxtablestyleexport.cxx b/sw/source/filter/ww8/docxtablestyleexport.cxx index fbc99db..107fe77 100644 --- a/sw/source/filter/ww8/docxtablestyleexport.cxx +++ b/sw/source/filter/ww8/docxtablestyleexport.cxx @@ -679,7 +679,7 @@ void DocxTableStyleExport::Impl::TableStyle(uno::Sequence<beans::PropertyValue>& m_pSerializer->endElementNS(XML_w, XML_style); } -void DocxTableStyleExport::SetSerializer(sax_fastparser::FSHelperPtr pSerializer) +void DocxTableStyleExport::SetSerializer(const sax_fastparser::FSHelperPtr& pSerializer) { m_pImpl->m_pSerializer = pSerializer; } diff --git a/sw/source/filter/ww8/docxtablestyleexport.hxx b/sw/source/filter/ww8/docxtablestyleexport.hxx index 8900d92..cf73a4b 100644 --- a/sw/source/filter/ww8/docxtablestyleexport.hxx +++ b/sw/source/filter/ww8/docxtablestyleexport.hxx @@ -32,7 +32,7 @@ public: /// Writes <w:cnfStyle .../> based on grab-bagged para, cell or row properties. void CnfStyle(css::uno::Sequence<css::beans::PropertyValue>& rAttributeList); - void SetSerializer(sax_fastparser::FSHelperPtr pSerializer); + void SetSerializer(const sax_fastparser::FSHelperPtr& pSerializer); DocxTableStyleExport(SwDoc* pDoc, sax_fastparser::FSHelperPtr pSerializer); ~DocxTableStyleExport(); }; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits