summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/data/olinetab.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/core/data/olinetab.cxx b/sc/source/core/data/olinetab.cxx
index 84b9c59af3be..ddcc4c4ed6ad 100644
--- a/sc/source/core/data/olinetab.cxx
+++ b/sc/source/core/data/olinetab.cxx
@@ -747,7 +747,11 @@ OString ScOutlineArray::dumpAsString() const
OString aOutput;
const char* const pLevelSep = " ";
for (const auto& rCollection : aCollections)
+ {
+ if (rCollection.empty())
+ continue;
aOutput += rCollection.dumpAsString() + pLevelSep;
+ }
return aOutput;
}