diff options
Diffstat (limited to 'sw/source/uibase/uno/unotxvw.cxx')
-rw-r--r-- | sw/source/uibase/uno/unotxvw.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx index 17b53047a784..94c19a4872b2 100644 --- a/sw/source/uibase/uno/unotxvw.cxx +++ b/sw/source/uibase/uno/unotxvw.cxx @@ -385,10 +385,6 @@ uno::Any SwXTextView::getSelection() case ShellMode::DrawText : case ShellMode::Bezier : { - uno::Reference< drawing::XDrawPageSupplier > xPageSupp; - uno::Reference< frame::XModel > xModel = m_pView->GetDocShell()->GetBaseModel(); - uno::Reference< lang::XUnoTunnel > xModelTunnel(xModel, uno::UNO_QUERY); - uno::Reference< drawing::XShapes > xShCol = drawing::ShapeCollection::create( comphelper::getProcessComponentContext()); |