summaryrefslogtreecommitdiff
path: root/framework/source/uielement/subtoolbarcontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uielement/subtoolbarcontroller.cxx')
-rw-r--r--framework/source/uielement/subtoolbarcontroller.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/framework/source/uielement/subtoolbarcontroller.cxx b/framework/source/uielement/subtoolbarcontroller.cxx
index c5b08f190c80..71e498666f36 100644
--- a/framework/source/uielement/subtoolbarcontroller.cxx
+++ b/framework/source/uielement/subtoolbarcontroller.cxx
@@ -224,7 +224,6 @@ css::uno::Reference< css::awt::XWindow > SubToolBarController::createPopupWindow
if ( xUIElement.is() )
{
- css::uno::Reference< css::awt::XWindow > xParent = xFrame->getContainerWindow();
css::uno::Reference< css::awt::XWindow > xSubToolBar( xUIElement->getRealInterface(), css::uno::UNO_QUERY );
if ( xSubToolBar.is() )
{
@@ -354,7 +353,6 @@ void SubToolBarController::endPopupMode( const css::awt::EndPopupModeEvent& e )
xUIElement = xLayoutManager->getElement( aSubToolBarResName );
if ( xUIElement.is() )
{
- css::uno::Reference< css::awt::XWindow > xParent = getFrameInterface()->getContainerWindow();
css::uno::Reference< css::awt::XWindow > xSubToolBar( xUIElement->getRealInterface(), css::uno::UNO_QUERY );
css::uno::Reference< css::beans::XPropertySet > xProp( xUIElement, css::uno::UNO_QUERY );
if ( xSubToolBar.is() && xProp.is() )