Kaydet (Commit) b8c79394 authored tarafından Oliver-Rainer Wittmann's avatar Oliver-Rainer Wittmann

124514: show/hide Overlay object to highlight annotated text range according the…

124514: show/hide Overlay object to highlight annotated text range according the according view option which show/hides the annotations/comments
üst c55d29bd
...@@ -579,7 +579,8 @@ void SwSidebarWin::SetPosAndSize() ...@@ -579,7 +579,8 @@ void SwSidebarWin::SetPosAndSize()
} }
// text range overlay // text range overlay
if ( mrSidebarItem.maLayoutInfo.mnStartNodeIdx != 0 if ( mrMgr.ShowNotes()
&& mrSidebarItem.maLayoutInfo.mnStartNodeIdx != 0
&& mrSidebarItem.maLayoutInfo.mnStartContent != STRING_NOTFOUND ) && mrSidebarItem.maLayoutInfo.mnStartContent != STRING_NOTFOUND )
{ {
std::vector< basegfx::B2DRange > aAnnotationTextRanges; std::vector< basegfx::B2DRange > aAnnotationTextRanges;
......
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