summaryrefslogtreecommitdiff
path: root/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-06-24 10:25:47 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-06-24 10:30:55 +0200
commit95e6cc2ecbcb653f76c4a1ee109908a12b84e456 (patch)
tree96f83f7436d026d2a3de5273fb32d9d726405e5f /writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
parent012003e4681736083f6d3f987a69011ef0200ddc (diff)
Related: fdo#76260 writerfilter: move SavedAlternateStates to OOXMLParserState
Change-Id: Ib9bddeb2d3b5ccdb71295587acbd13c86e5dd28b
Diffstat (limited to 'writerfilter/source/ooxml/OOXMLFastContextHandler.hxx')
-rw-r--r--writerfilter/source/ooxml/OOXMLFastContextHandler.hxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
index 88b1b80cd83a..eb315cf8880d 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
@@ -43,18 +43,6 @@ namespace ooxml
typedef boost::shared_ptr<Stream> StreamPointer_t;
-/**
- * Struct to store our 'alternate state'. If multiple mc:AlternateContent
- * elements arrive, then while the inner ones are active, the original state is
- * saved away, and once they inner goes out of scope, the original state is
- * restored.
- */
-struct SavedAlternateState
-{
- bool m_bDiscardChildren;
- bool m_bTookChoice; ///< Did we take the Choice or want Fallback instead?
-};
-
class OOXMLFastContextHandler:
public ::cppu::WeakImplHelper1<
xml::sax::XFastContextHandler>
@@ -290,7 +278,6 @@ private:
uno::Reference< uno::XComponentContext > m_xContext;
bool m_bDiscardChildren;
bool m_bTookChoice; ///< Did we take the Choice or want Fallback instead?
- std::vector<SavedAlternateState> m_aSavedAlternateStates;
static sal_uInt32 mnInstanceCount;