diff options
Diffstat (limited to 'vcl/source/control/InterimItemWindow.cxx')
-rw-r--r-- | vcl/source/control/InterimItemWindow.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/control/InterimItemWindow.cxx b/vcl/source/control/InterimItemWindow.cxx index 97d64b617648..3817e01893f1 100644 --- a/vcl/source/control/InterimItemWindow.cxx +++ b/vcl/source/control/InterimItemWindow.cxx @@ -163,9 +163,7 @@ bool InterimItemWindow::ChildKeyInput(const KeyEvent& rKEvt) void InterimItemWindow::Draw(OutputDevice* pDevice, const Point& rPos, DrawFlags /*nFlags*/) { - if (!m_pWidget) - return; - m_pWidget->draw(*pDevice, tools::Rectangle(rPos, GetSizePixel())); + m_xContainer->draw(*pDevice, rPos, GetSizePixel()); } void InterimItemWindow::ImplPaintToDevice(::OutputDevice* pTargetOutDev, const Point& rPos) |