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.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/source/uibase/docvw/SidebarTxtControl.cxx b/sw/source/uibase/docvw/SidebarTxtControl.cxx
index c33e07e999e1..fde45169248d 100644
--- a/sw/source/uibase/docvw/SidebarTxtControl.cxx
+++ b/sw/source/uibase/docvw/SidebarTxtControl.cxx
@@ -430,6 +430,13 @@ Selection SidebarTextControl::GetSurroundingTextSelection() const
return Selection( 0, 0 );
}
+bool SidebarTextControl::DeleteSurroundingText(const Selection& rSelection)
+{
+ if (OutlinerView* pTextView = GetTextView())
+ return pTextView->DeleteSurroundingText(rSelection);
+ return false;
+}
+
css::uno::Reference< css::accessibility::XAccessible > SidebarTextControl::CreateAccessible()
{