Kaydet (Commit) 1ffa9105 authored tarafından Oliver-Rainer Wittmann's avatar Oliver-Rainer Wittmann Kaydeden (comit) Caolán McNamara

Resolves: #i124514# show/hide Overlay object to highlight...

annotated text range according the according view option which show/hides the
annotations/comments

(cherry picked from commit b8c79394)

Conflicts:
	sw/source/core/uibase/docvw/SidebarWin.cxx

Change-Id: I0701ee137317349c5d917841448c183015d5513a
üst c260edff
...@@ -573,7 +573,8 @@ void SwSidebarWin::SetPosAndSize() ...@@ -573,7 +573,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 != -1 ) && mrSidebarItem.maLayoutInfo.mnStartContent != -1 )
{ {
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