Kaydet (Commit) 2d89cd4a authored tarafından Michael Stahl's avatar Michael Stahl

sw_redlinehide_3: SetHideRedlines() must iterate doc when Show->Hide

Something must call AddToListRLHidden() on all the nodes.

Change-Id: Ibe23f499372b7fd07a2894ee3f90684d53d67aef
üst 10aab2a9
...@@ -4437,7 +4437,8 @@ void SwRootFrame::SetHideRedlines(bool const bHideRedlines) ...@@ -4437,7 +4437,8 @@ void SwRootFrame::SetHideRedlines(bool const bHideRedlines)
} }
mbHideRedlines = bHideRedlines; mbHideRedlines = bHideRedlines;
SwDoc & rDoc(*GetFormat()->GetDoc()); SwDoc & rDoc(*GetFormat()->GetDoc());
if (rDoc.getIDocumentRedlineAccess().GetRedlineTable().empty()) if (!bHideRedlines // Show->Hide must init hidden number trees
&& rDoc.getIDocumentRedlineAccess().GetRedlineTable().empty())
{ {
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment