summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-26 12:59:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-26 12:59:36 +0100
commit0be026ea4ae6d53d6cc0e5acb10bd58bec490adc (patch)
treec16b998b5e855777b2d371be3d7bf0dd38a0cc82 /starmath
parent30e8dcf0372977d5c6daea949b5cd39b6690fc55 (diff)
<= for extra safely I suppose
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/mathmlimport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx
index ce1d3c62e612..568ebb605f91 100644
--- a/starmath/source/mathmlimport.cxx
+++ b/starmath/source/mathmlimport.cxx
@@ -2461,7 +2461,7 @@ void SmXMLMultiScriptsContext_Impl::ProcessSubSupPairs(bool bIsPrescript)
{
SmNodeStack &rNodeStack = GetSmImport().GetNodeStack();
- if (rNodeStack.Count() == nElementCount)
+ if (rNodeStack.Count() <= nElementCount)
return;
sal_uLong nCount = rNodeStack.Count() - nElementCount - 1;