From 32c288d862d98aac2f726360be9f2ca53db06ccf Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 8 Mar 2019 15:41:42 +0200 Subject: loplugin:unusedfields Change-Id: Ifb2c9a2d1d7dcc0ed3e8458c1a13933ccababd4c Reviewed-on: https://gerrit.libreoffice.org/68939 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/core/unocore/unoidx.cxx | 9 +-------- sw/source/filter/xml/xmltbli.cxx | 4 ---- 2 files changed, 1 insertion(+), 12 deletions(-) (limited to 'sw') diff --git a/sw/source/core/unocore/unoidx.cxx b/sw/source/core/unocore/unoidx.cxx index 445142d6af86..d4d75324db8d 100644 --- a/sw/source/core/unocore/unoidx.cxx +++ b/sw/source/core/unocore/unoidx.cxx @@ -1533,7 +1533,6 @@ public: OUString m_sPrimaryKeyReading; OUString m_sSecondaryKeyReading; OUString m_sUserIndexName; - OUString m_sCitaitonText; Impl(SwXDocumentIndexMark& rThis, SwDoc* const pDoc, @@ -2205,13 +2204,7 @@ SwXDocumentIndexMark::setPropertyValue( m_pImpl->m_bMainEntry = lcl_AnyToBool(rValue); break; case PROPERTY_MAP_INDEX_OBJECTS: - { - uno::Sequence aValues(1); - css::beans::PropertyValue propertyVal; - rValue >>= aValues; - propertyVal = aValues[0]; - m_pImpl->m_sCitaitonText = lcl_AnyToString(propertyVal.Value); - } + // unsupported break; } } diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx index 2ea89d1cfe64..dcd71a568259 100644 --- a/sw/source/filter/xml/xmltbli.cxx +++ b/sw/source/filter/xml/xmltbli.cxx @@ -379,7 +379,6 @@ class SwXMLTableCellContext_Impl : public SvXMLImportContext OUString m_aStyleName; OUString m_sFormula; OUString m_sSaveParaDefault; - OUString mXmlId; OUString m_StringValue; SvXMLImportContextRef const m_xMyTable; @@ -452,9 +451,6 @@ SwXMLTableCellContext_Impl::SwXMLTableCellContext_Impl( GetSwImport().GetTableCellAttrTokenMap(); switch( rTokenMap.Get( nPrefix, aLocalName ) ) { - case XML_TOK_TABLE_XMLID: - mXmlId = rValue; - break; case XML_TOK_TABLE_STYLE_NAME: m_aStyleName = rValue; GetImport().GetTextImport()->SetCellParaStyleDefault(rValue); -- cgit