From 5278a0e3a750aa5a982086ab02f213552c5ce63a Mon Sep 17 00:00:00 2001 From: Zolnai Tamás Date: Sun, 21 Sep 2014 10:16:16 +0200 Subject: fdo#81237: OpenGL window is not resized by view change Reproduce: - Create a 2D OpenGL chart - Step out from edit mode - Zoom in / zoom out Behavior - Chart window is not resized, it has a constant size. When we step out from chart edit mode the chart becomes an inplace active object (instead of UI active) which means the m_xDockingAreaAcceptor is removed. On the other hand it seems we don't actually use this m_xDockingAreaAcceptor here, so don't need to check whether it exists. Change-Id: I056109b6e5cac28cdd2aeb8fabd9190413a16ed5 --- framework/source/layoutmanager/layoutmanager.cxx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index b3487c995f71..89d1fe472dbc 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -2650,12 +2650,6 @@ void SAL_CALL LayoutManager::windowResized( const awt::WindowEvent& aEvent ) throw( uno::RuntimeException, std::exception ) { SolarMutexGuard g; - - if ( !m_xDockingAreaAcceptor.is() ) - return; - - // Request to set docking area space again. - Reference< XDockingAreaAcceptor > xDockingAreaAcceptor( m_xDockingAreaAcceptor ); Reference< awt::XWindow > xContainerWindow( m_xContainerWindow ); Reference< XInterface > xIfac( xContainerWindow, UNO_QUERY ); -- cgit v1.2.3