diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-02-26 21:46:20 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-02-26 21:56:43 +0100 |
commit | 05e7456b00bf976e889f9e5414a7c46c4bf35ac2 (patch) | |
tree | 35109a7a4625893a2cfabb909a3a755e4b9da661 /writerfilter | |
parent | Remove visual noise from forms (diff) | |
download | core-05e7456b00bf976e889f9e5414a7c46c4bf35ac2.tar.gz core-05e7456b00bf976e889f9e5414a7c46c4bf35ac2.zip |
rtftok: bHasTableStyle is never read
Change-Id: Iad287d3f619d7c912aa6c2dc059b1aa63c3c0053
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.cxx | 4 | ||||
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.hxx | 3 |
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; |