[Libreoffice-commits] core.git: Branch 'aoo/trunk' - sot/source

Andre Fischer af at apache.org
Mon Mar 31 11:07:43 PDT 2014


 sot/source/sdstor/stgdir.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit be3e9eb3656451b3091f45011f33d701f13b3c13
Author: Andre Fischer <af at apache.org>
Date:   Mon Mar 31 16:08:32 2014 +0000

    i124461: Allow slightly larger nesting depth of SetupEntry call (merged from branch AOO410).

diff --git a/sot/source/sdstor/stgdir.cxx b/sot/source/sdstor/stgdir.cxx
index e08281c..d861f2c 100644
--- a/sot/source/sdstor/stgdir.cxx
+++ b/sot/source/sdstor/stgdir.cxx
@@ -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


More information about the Libreoffice-commits mailing list