diff options
Diffstat (limited to 'sdext/source/presenter/PresenterWindowManager.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterWindowManager.cxx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sdext/source/presenter/PresenterWindowManager.cxx b/sdext/source/presenter/PresenterWindowManager.cxx index 749e8a58d08a..4052ec9f98a9 100644 --- a/sdext/source/presenter/PresenterWindowManager.cxx +++ b/sdext/source/presenter/PresenterWindowManager.cxx @@ -276,12 +276,7 @@ void SAL_CALL PresenterWindowManager::windowPaint (const awt::PaintEvent& rEvent if (mbIsLayoutPending) Layout(); PaintBackground(rEvent.UpdateRect); - if ( ! PaintChildren(rEvent)) - { - Reference<rendering::XSpriteCanvas> xSpriteCanvas (mxParentCanvas, UNO_QUERY); - // if (xSpriteCanvas.is()) - // xSpriteCanvas->updateScreen(sal_False); - } + PaintChildren(rEvent); } catch (RuntimeException&) { @@ -338,10 +333,6 @@ void SAL_CALL PresenterWindowManager::disposing (const lang::EventObject& rEvent { if (rEvent.Source == mxParentWindow) mxParentWindow = nullptr; - else - { - Reference<awt::XWindow> xWindow (rEvent.Source, UNO_QUERY); - } } |