summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-02-26 21:46:20 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-02-26 21:56:43 +0100
commit05e7456b00bf976e889f9e5414a7c46c4bf35ac2 (patch)
tree35109a7a4625893a2cfabb909a3a755e4b9da661 /writerfilter
parentbed18b128ff1329579369b07b2b172e2906649f8 (diff)
rtftok: bHasTableStyle is never read
Change-Id: Iad287d3f619d7c912aa6c2dc059b1aa63c3c0053
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx4
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.hxx3
2 files changed, 0 insertions, 7 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 174d31c82957..cc1ceef3d895 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -3891,9 +3891,6 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
m_aStates.top().aCharacterSprms.set(NS_ooxml::LN_EG_WrapType_wrapNone, RTFValue::Pointer_t(new RTFValue()));
}
break;
- case RTF_TS:
- m_aStates.top().bHasTableStyle = true;
- break;
case RTF_CLPADB:
case RTF_CLPADL:
case RTF_CLPADR:
@@ -5143,7 +5140,6 @@ RTFParserState::RTFParserState(RTFDocumentImpl *pDocumentImpl)
nMinute(0),
nCurrentStyleIndex(-1),
pCurrentBuffer(0),
- bHasTableStyle(false),
bInListpicture(false),
bInBackground(false),
bHadShapeText(false),
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.hxx b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
index b6985e99abca..3a7e3ed37d19 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.hxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
@@ -272,9 +272,6 @@ namespace writerfilter {
/// Points to the active buffer, if there is one.
RTFBuffer_t* pCurrentBuffer;
- /// If a table style was requested to be used.
- bool bHasTableStyle;
-
/// If we're inside a \listpicture group.
bool bInListpicture;