diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-11-24 17:31:42 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-11-24 18:44:00 +0100 |
commit | 5e10ed16ce2ec607324206d49b1073228cacd1aa (patch) | |
tree | d7749ca6ca265d7e1b4de01d2c15db088b3b052a /oox | |
parent | 19a47cb97860a11e57deccb912f47ae19ffc1b65 (diff) |
skip elements properly
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/mathml/importutils.cxx | 3 |
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 |