summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
Diffstat (limited to 'oox')
-rw-r--r--oox/source/mathml/importutils.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/mathml/importutils.cxx b/oox/source/mathml/importutils.cxx
index 927f6e98cd9e..1dcb84ed962b 100644
--- a/oox/source/mathml/importutils.cxx
+++ b/oox/source/mathml/importutils.cxx
@@ -222,7 +222,8 @@ void XmlStream::skipElement( int token )
{
int closing = ( token & ~TAG_OPENING ) | TAG_CLOSING; // make it a closing tag
assert( currentToken() == OPENING( token ));
- // just find the matching closing tag
+ moveToNextTag();
+ // and just find the matching closing tag
if( recoverAndFindTag( closing ))
{
moveToNextTag(); // and skip it too