[Libreoffice-commits] core.git: sw/source
Miklos Vajna
vmiklos at collabora.co.uk
Fri May 13 09:47:36 UTC 2016
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 <vmiklos at 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 <vmiklos at collabora.co.uk>
Tested-by: Jenkins <ci at 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();
};
More information about the Libreoffice-commits
mailing list