diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/docvw/SidebarWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/docvw/SidebarWin.cxx b/sw/source/ui/docvw/SidebarWin.cxx index 503549e159a1..14553ad2e564 100644 --- a/sw/source/ui/docvw/SidebarWin.cxx +++ b/sw/source/ui/docvw/SidebarWin.cxx @@ -757,7 +757,7 @@ void SwSidebarWin::SetSizePixel( const Size& rNewSize ) void SwSidebarWin::SetScrollbar() { - mpVScrollbar->SetThumbPos( mpOutlinerView->GetVisArea().Top()+ mpOutlinerView->GetEditView().GetCursor()->GetOffsetY()); + mpVScrollbar->SetThumbPos(mpOutlinerView->GetVisArea().Top()); } void SwSidebarWin::ResizeIfNecessary(long aOldHeight, long aNewHeight) |