Kaydet (Commit) 5278a0e3 authored tarafından Zolnai Tamás's avatar Zolnai Tamás

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
üst 3ef6bcc2
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment