summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-07 16:48:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-08 07:38:35 +0100
commit1cfa1d9e1041b0e82d9be90847c428adfd01476e (patch)
treed8c73327e33240b53bd1d89aae7920ebe98dcb04 /writerfilter
parent8355de8778d67464fb654c37f9c120561da31a28 (diff)
loplugin:unusedfields
Change-Id: Id16846c19c57ec437a64146d0fa771c1bfc05135 Reviewed-on: https://gerrit.libreoffice.org/63028 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/rtftok/rtfdispatchvalue.cxx1
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx1
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.hxx1
3 files changed, 0 insertions, 3 deletions
diff --git a/writerfilter/source/rtftok/rtfdispatchvalue.cxx b/writerfilter/source/rtftok/rtfdispatchvalue.cxx
index b98508f297b2..5f37d62b9d79 100644
--- a/writerfilter/source/rtftok/rtfdispatchvalue.cxx
+++ b/writerfilter/source/rtftok/rtfdispatchvalue.cxx
@@ -1182,7 +1182,6 @@ RTFError RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
}
break;
case RTF_FLYANCHOR:
- m_aStates.top().aFrame.m_nAnchorType = nParam;
break;
case RTF_WMETAFILE:
m_aStates.top().aPicture.eWMetafile = nParam;
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index e54453f261f5..0013af494d00 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -3465,7 +3465,6 @@ RTFFrame::RTFFrame(RTFParserState* pParserState)
, m_nVertAlign(0)
, m_nVertAnchor(0)
, m_nHRule(NS_ooxml::LN_Value_doc_ST_HeightRule_auto)
- , m_nAnchorType(0)
{
}
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.hxx b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
index 65ae6dab3457..1f45e9f99eec 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.hxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
@@ -253,7 +253,6 @@ private:
public:
explicit RTFFrame(RTFParserState* pParserState);
- sal_Int16 m_nAnchorType;
/// Convert the stored properties to Sprms
RTFSprms getSprms();