summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-25 11:28:58 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-26 07:26:47 +0000
commit509f0c6a8aa36b7fa532f784e10bbe9ec4e57c4b (patch)
treea05e37827bdee103d11362388acbf6d0d57dca48 /oox
parent92d3025521ec8939b66500347f8d38ed5b24e3c8 (diff)
loplugin:unusedreturntypes
and clean up the python script Change-Id: I0a7068153290fbbb60bfeb4c8bda1c24d514500f Reviewed-on: https://gerrit.libreoffice.org/25439 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/core/xmlfilterbase.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx
index 2019f31e26ee..b668cf83b056 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -803,7 +803,7 @@ writeCustomProperties( XmlFilterBase& rSelf, const Reference< XDocumentPropertie
pAppProps->endElement( XML_Properties );
}
-XmlFilterBase& XmlFilterBase::exportDocumentProperties( const Reference< XDocumentProperties >& xProperties )
+void XmlFilterBase::exportDocumentProperties( const Reference< XDocumentProperties >& xProperties )
{
if( xProperties.is() )
{
@@ -811,7 +811,6 @@ XmlFilterBase& XmlFilterBase::exportDocumentProperties( const Reference< XDocume
writeAppProperties( *this, xProperties );
writeCustomProperties( *this, xProperties );
}
- return *this;
}
// protected ------------------------------------------------------------------