diff options
Diffstat (limited to 'svx/source/table')
-rw-r--r-- | svx/source/table/cell.cxx | 8 | ||||
-rw-r--r-- | svx/source/table/svdotable.cxx | 10 | ||||
-rw-r--r-- | svx/source/table/tablelayouter.cxx | 22 | ||||
-rw-r--r-- | svx/source/table/tablemodel.cxx | 4 |
4 files changed, 22 insertions, 22 deletions
diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx index 3bc253b48b71..06c9fda21a39 100644 --- a/svx/source/table/cell.cxx +++ b/svx/source/table/cell.cxx @@ -1686,14 +1686,14 @@ void SAL_CALL Cell::disposing( const EventObject& /*Source*/ ) void Cell::dumpAsXml(xmlTextWriterPtr pWriter, sal_Int32 nRow, sal_Int32 nCol) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("Cell")); - xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("row"), "%" SAL_PRIdINT32, nRow); - xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("col"), "%" SAL_PRIdINT32, nCol); + (void)xmlTextWriterStartElement(pWriter, BAD_CAST("Cell")); + (void)xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("row"), "%" SAL_PRIdINT32, nRow); + (void)xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("col"), "%" SAL_PRIdINT32, nCol); SdrText::dumpAsXml(pWriter); //SvxUnoTextBase::dumpAsXml(pWriter); //mpPropSet->dumpAsXml(pWriter); mpProperties->dumpAsXml(pWriter); - xmlTextWriterEndElement(pWriter); + (void)xmlTextWriterEndElement(pWriter); } } diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index f3d4ae4d5728..66be795a8817 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -734,11 +734,11 @@ bool SdrTableObjImpl::isInUse() void SdrTableObjImpl::dumpAsXml(xmlTextWriterPtr pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("SdrTableObjImpl")); + (void)xmlTextWriterStartElement(pWriter, BAD_CAST("SdrTableObjImpl")); if (mpLayouter) mpLayouter->dumpAsXml(pWriter); mxTable->dumpAsXml(pWriter); - xmlTextWriterEndElement(pWriter); + (void)xmlTextWriterEndElement(pWriter); } @@ -2443,14 +2443,14 @@ void SdrTableObj::uno_unlock() void SdrTableObj::dumpAsXml(xmlTextWriterPtr pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("SdrTableObj")); - xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this); + (void)xmlTextWriterStartElement(pWriter, BAD_CAST("SdrTableObj")); + (void)xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this); SdrObject::dumpAsXml(pWriter); mpImpl->dumpAsXml(pWriter); - xmlTextWriterEndElement(pWriter); + (void)xmlTextWriterEndElement(pWriter); } bool SdrTableObj::createTableEdgesJson(boost::property_tree::ptree & rJsonRoot) diff --git a/svx/source/table/tablelayouter.cxx b/svx/source/table/tablelayouter.cxx index 2d8de0c1f8e2..ed944fb3c1e1 100644 --- a/svx/source/table/tablelayouter.cxx +++ b/svx/source/table/tablelayouter.cxx @@ -1311,30 +1311,30 @@ void TableLayouter::DistributeRows( ::tools::Rectangle& rArea, void TableLayouter::dumpAsXml(xmlTextWriterPtr pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("TableLayouter")); + (void)xmlTextWriterStartElement(pWriter, BAD_CAST("TableLayouter")); - xmlTextWriterStartElement(pWriter, BAD_CAST("columns")); + (void)xmlTextWriterStartElement(pWriter, BAD_CAST("columns")); for (const auto& rColumn : maColumns) rColumn.dumpAsXml(pWriter); - xmlTextWriterEndElement(pWriter); + (void)xmlTextWriterEndElement(pWriter); - xmlTextWriterStartElement(pWriter, BAD_CAST("rows")); + (void)xmlTextWriterStartElement(pWriter, BAD_CAST("rows")); for (const auto& rRow : maRows) rRow.dumpAsXml(pWriter); - xmlTextWriterEndElement(pWriter); + (void)xmlTextWriterEndElement(pWriter); - xmlTextWriterEndElement(pWriter); + (void)xmlTextWriterEndElement(pWriter); } void TableLayouter::Layout::dumpAsXml(xmlTextWriterPtr pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("TableLayouter_Layout")); + (void)xmlTextWriterStartElement(pWriter, BAD_CAST("TableLayouter_Layout")); - xmlTextWriterWriteAttribute(pWriter, BAD_CAST("pos"), BAD_CAST(OString::number(mnPos).getStr())); - xmlTextWriterWriteAttribute(pWriter, BAD_CAST("size"), BAD_CAST(OString::number(mnSize).getStr())); - xmlTextWriterWriteAttribute(pWriter, BAD_CAST("minSize"), BAD_CAST(OString::number(mnMinSize).getStr())); + (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("pos"), BAD_CAST(OString::number(mnPos).getStr())); + (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("size"), BAD_CAST(OString::number(mnSize).getStr())); + (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST("minSize"), BAD_CAST(OString::number(mnMinSize).getStr())); - xmlTextWriterEndElement(pWriter); + (void)xmlTextWriterEndElement(pWriter); } } diff --git a/svx/source/table/tablemodel.cxx b/svx/source/table/tablemodel.cxx index a6d21f3935db..2ede658f6a40 100644 --- a/svx/source/table/tablemodel.cxx +++ b/svx/source/table/tablemodel.cxx @@ -1113,13 +1113,13 @@ void TableModel::updateColumns() void TableModel::dumpAsXml(xmlTextWriterPtr pWriter) const { - xmlTextWriterStartElement(pWriter, BAD_CAST("TableModel")); + (void)xmlTextWriterStartElement(pWriter, BAD_CAST("TableModel")); for (sal_Int32 nRow = 0; nRow < getRowCountImpl(); ++nRow) for (sal_Int32 nCol = 0; nCol < getColumnCountImpl(); ++nCol) { maRows[nRow]->maCells[nCol]->dumpAsXml(pWriter, nRow, nCol); } - xmlTextWriterEndElement(pWriter); + (void)xmlTextWriterEndElement(pWriter); } } |