diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-09-21 10:16:16 +0200 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-09-21 15:49:54 +0200 |
commit | 5278a0e3a750aa5a982086ab02f213552c5ce63a (patch) | |
tree | 67a85ed37ac274a49fd7ed888027d20eed94e4e6 | |
parent | 3ef6bcc291df6d0c67709d1c97f4d55d75e77179 (diff) |
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
-rw-r--r-- | framework/source/layoutmanager/layoutmanager.cxx | 6 |
1 files changed, 0 insertions, 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 ); |