summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/ooxml/OOXMLFastContextHandler.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
index e245e37b4772..aa9de6408202 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
@@ -1721,7 +1721,7 @@ void OOXMLFastContextHandlerShape::setToken(Token_t nToken)
OOXMLFastContextHandler::setToken(nToken);
if (mrShapeContext.is())
- mrShapeContext->setStartToken(nToken);
+ mrShapeContext->pushStartToken(nToken);
}
void OOXMLFastContextHandlerShape::sendShape( Token_t Element )
@@ -1761,8 +1761,7 @@ void OOXMLFastContextHandlerShape::sendShape( Token_t Element )
bool OOXMLFastContextHandlerShape::isDMLGroupShape() const
{
- return (mrShapeContext->getFullWPGSupport() &&
- (mrShapeContext->getStartToken() == Token_t(oox::NMSP_wpg | oox::XML_wgp)));
+ return (mrShapeContext->getFullWPGSupport() && mrShapeContext->isWordProcessingGroupShape());
};
void OOXMLFastContextHandlerShape::lcl_endFastElement