diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2011-09-23 22:31:40 +0400 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-26 12:54:37 +0100 |
commit | 30e8dcf0372977d5c6daea949b5cd39b6690fc55 (patch) | |
tree | b98bef68e14aee038f0e03ad350b97bbfb7ff955 /starmath | |
parent | 1da878532e2c821313609fe376df05895f1325a6 (diff) |
consider empty <mmultiscripts>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/mathmlimport.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx index 9cd36c6a69af..ce1d3c62e612 100644 --- a/starmath/source/mathmlimport.cxx +++ b/starmath/source/mathmlimport.cxx @@ -2461,6 +2461,9 @@ void SmXMLMultiScriptsContext_Impl::ProcessSubSupPairs(bool bIsPrescript) { SmNodeStack &rNodeStack = GetSmImport().GetNodeStack(); + if (rNodeStack.Count() == nElementCount) + return; + sal_uLong nCount = rNodeStack.Count() - nElementCount - 1; if (nCount == 0) return; |