You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by af...@apache.org on 2014/03/31 17:35:50 UTC

svn commit: r1583349 - /openoffice/branches/AOO410/main/sot/source/sdstor/stgdir.cxx

Author: af
Date: Mon Mar 31 15:35:50 2014
New Revision: 1583349

URL: http://svn.apache.org/r1583349
Log:
i124461: Allow slightly larger nesting depth of SetupEntry calls.

Modified:
    openoffice/branches/AOO410/main/sot/source/sdstor/stgdir.cxx

Modified: openoffice/branches/AOO410/main/sot/source/sdstor/stgdir.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/AOO410/main/sot/source/sdstor/stgdir.cxx?rev=1583349&r1=1583348&r2=1583349&view=diff
==============================================================================
--- openoffice/branches/AOO410/main/sot/source/sdstor/stgdir.cxx (original)
+++ openoffice/branches/AOO410/main/sot/source/sdstor/stgdir.cxx Mon Mar 31 15:35:50 2014
@@ -846,7 +846,7 @@ void StgDirStrm::SetupEntry (
     const sal_Int32 nEntryCount,
     const sal_Int32 nDepth)
 {
-    if (nDepth >= nEntryCount)
+    if (nDepth > nEntryCount)
     {
         // Tree grew higher than there are different nodes.  Looks like
         // something is wrong with the file.  Return now to avoid