summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/SidebarTxtControl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/docvw/SidebarTxtControl.cxx')
-rw-r--r--sw/source/uibase/docvw/SidebarTxtControl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/docvw/SidebarTxtControl.cxx b/sw/source/uibase/docvw/SidebarTxtControl.cxx
index bdbb0e2804e4..9598b607bff1 100644
--- a/sw/source/uibase/docvw/SidebarTxtControl.cxx
+++ b/sw/source/uibase/docvw/SidebarTxtControl.cxx
@@ -214,9 +214,8 @@ void SidebarTextControl::LogicInvalidate(const tools::Rectangle* pRectangle)
rParent.Pop();
aRectangle.Move(aOffset.getX(), aOffset.getY());
- OString sRectangle = aRectangle.toString();
SwWrtShell& rWrtShell = mrDocView.GetWrtShell();
- SfxLokHelper::notifyInvalidation(rWrtShell.GetSfxViewShell(), sRectangle);
+ SfxLokHelper::notifyInvalidation(rWrtShell.GetSfxViewShell(), &aRectangle);
}
void SidebarTextControl::KeyInput( const KeyEvent& rKeyEvt )