summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-08 15:41:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-09 07:28:34 +0100
commit32c288d862d98aac2f726360be9f2ca53db06ccf (patch)
tree7ff3d9d9aa7ccb49a4dc8f790ec5750fc23eb953 /sw
parent313744d4f23f242f5ee979d229fe394211ff7ffd (diff)
loplugin:unusedfields
Change-Id: Ifb2c9a2d1d7dcc0ed3e8458c1a13933ccababd4c Reviewed-on: https://gerrit.libreoffice.org/68939 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/unocore/unoidx.cxx9
-rw-r--r--sw/source/filter/xml/xmltbli.cxx4
2 files changed, 1 insertions, 12 deletions
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<css::beans::PropertyValue> 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);