summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/layout/wsfrm.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx
index cfb9c0853934..eb8a0fa12368 100644
--- a/sw/source/core/layout/wsfrm.cxx
+++ b/sw/source/core/layout/wsfrm.cxx
@@ -4437,7 +4437,8 @@ void SwRootFrame::SetHideRedlines(bool const bHideRedlines)
}
mbHideRedlines = bHideRedlines;
SwDoc & rDoc(*GetFormat()->GetDoc());
- if (rDoc.getIDocumentRedlineAccess().GetRedlineTable().empty())
+ if (!bHideRedlines // Show->Hide must init hidden number trees
+ && rDoc.getIDocumentRedlineAccess().GetRedlineTable().empty())
{
return;
}