[Libreoffice-commits] core.git: xmloff/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Wed Nov 18 12:53:52 UTC 2020
xmloff/source/table/XMLTableImport.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 87946f2cfb2626d648ca4df2b0a5d026626e24f5
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Nov 18 11:52:15 2020 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Nov 18 13:53:12 2020 +0100
Remove unused XMLTableImportContext::ImportColumn nPrefix, rLocalName params
unused since f3797630be6ab21179e2496cc56a6d41f0ee8144 "return nullptr from
CreateChildContext methods in subclasses"
Change-Id: I5c4c820500b98444c9f24641d6e45ea9b830ec3b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106052
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
Tested-by: Jenkins
diff --git a/xmloff/source/table/XMLTableImport.cxx b/xmloff/source/table/XMLTableImport.cxx
index a40af746ab73..8eb7a22f7be4 100644
--- a/xmloff/source/table/XMLTableImport.cxx
+++ b/xmloff/source/table/XMLTableImport.cxx
@@ -104,7 +104,7 @@ public:
void InitColumns();
- SvXMLImportContextRef ImportColumn( sal_uInt16 nPrefix, std::u16string_view rLocalName, const Reference< XAttributeList >& xAttrList );
+ SvXMLImportContextRef ImportColumn( const Reference< XAttributeList >& xAttrList );
SvXMLImportContext * ImportRow( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList );
SvXMLImportContextRef ImportCell( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList );
@@ -368,7 +368,7 @@ XMLTableImportContext::XMLTableImportContext( const rtl::Reference< XMLTableImpo
{
}
-SvXMLImportContextRef XMLTableImportContext::ImportColumn( sal_uInt16 /*nPrefix*/, std::u16string_view /*rLocalName*/, const Reference< XAttributeList >& xAttrList )
+SvXMLImportContextRef XMLTableImportContext::ImportColumn( const Reference< XAttributeList >& xAttrList )
{
if( mxColumns.is() && (mnCurrentRow == -1) ) try
{
@@ -571,7 +571,7 @@ SvXMLImportContextRef XMLTableImportContext::CreateChildContext( sal_uInt16 nPre
if( nPrefix == XML_NAMESPACE_TABLE )
{
if( IsXMLToken( rLocalName, XML_TABLE_COLUMN ) )
- return ImportColumn( nPrefix, rLocalName, xAttrList );
+ return ImportColumn( xAttrList );
else if( IsXMLToken( rLocalName, XML_TABLE_ROW ) )
return ImportRow( nPrefix, rLocalName, xAttrList );
else if( IsXMLToken( rLocalName, XML_TABLE_CELL ) || IsXMLToken( rLocalName, XML_COVERED_TABLE_CELL ) )
More information about the Libreoffice-commits
mailing list