<= for extra safely I suppose

This commit is contained in:
Caolán McNamara
2011-09-26 12:59:36 +01:00
parent 30e8dcf037
commit 0be026ea4a

View File

@@ -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;