diff options
Diffstat (limited to 'sw/source/uibase/docvw/SidebarScrollBar.cxx')
-rw-r--r-- | sw/source/uibase/docvw/SidebarScrollBar.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/docvw/SidebarScrollBar.cxx b/sw/source/uibase/docvw/SidebarScrollBar.cxx index 9b57616ba89f..ee118f29b496 100644 --- a/sw/source/uibase/docvw/SidebarScrollBar.cxx +++ b/sw/source/uibase/docvw/SidebarScrollBar.cxx @@ -54,9 +54,8 @@ void SidebarScrollBar::LogicInvalidate(const tools::Rectangle* pRectangle) rParent.Pop(); aRectangle.Move(aOffset.getX(), aOffset.getY()); - OString sRectangle = aRectangle.toString(); SwWrtShell& rWrtShell = m_rView.GetWrtShell(); - SfxLokHelper::notifyInvalidation(rWrtShell.GetSfxViewShell(), sRectangle); + SfxLokHelper::notifyInvalidation(rWrtShell.GetSfxViewShell(), &aRectangle); } void SidebarScrollBar::MouseButtonUp(const MouseEvent& /*rMouseEvent*/) |