diff options
Diffstat (limited to 'toolkit/source/controls/svmedit.cxx')
-rw-r--r-- | toolkit/source/controls/svmedit.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/toolkit/source/controls/svmedit.cxx b/toolkit/source/controls/svmedit.cxx index 383f2280412e..2abd5e4ebed2 100644 --- a/toolkit/source/controls/svmedit.cxx +++ b/toolkit/source/controls/svmedit.cxx @@ -26,11 +26,10 @@ MultiLineEdit::MultiLineEdit(vcl::Window* pParent, WinBits nWinStyle) } // virtual -css::uno::Reference<css::awt::XWindowPeer> MultiLineEdit::GetComponentInterface(bool bCreate) +VCLXWindow* MultiLineEdit::GetComponentInterface(bool bCreate) { - css::uno::Reference<css::awt::XWindowPeer> xPeer( - VclMultiLineEdit::GetComponentInterface(false)); - if (!xPeer.is() && bCreate) + VCLXWindow* xPeer = VclMultiLineEdit::GetComponentInterface(false); + if (!xPeer && bCreate) { rtl::Reference<VCLXMultiLineEdit> xVCLMEdit(new VCLXMultiLineEdit); xVCLMEdit->SetWindow(this); |