summaryrefslogtreecommitdiff
path: root/svtools/source/edit/svmedit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/edit/svmedit.cxx')
-rw-r--r--svtools/source/edit/svmedit.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/edit/svmedit.cxx b/svtools/source/edit/svmedit.cxx
index 67a2fe35e3d6..afe0adccb37b 100644
--- a/svtools/source/edit/svmedit.cxx
+++ b/svtools/source/edit/svmedit.cxx
@@ -33,9 +33,9 @@ MultiLineEdit::GetComponentInterface(bool bCreate)
VclMultiLineEdit::GetComponentInterface(false));
if (!xPeer.is() && bCreate)
{
- css::uno::Reference< VCLXMultiLineEdit > xVCLMEdit(new VCLXMultiLineEdit);
+ rtl::Reference< VCLXMultiLineEdit > xVCLMEdit(new VCLXMultiLineEdit);
xVCLMEdit->SetWindow(this);
- xPeer = xVCLMEdit;
+ xPeer = xVCLMEdit.get();
SetComponentInterface(xPeer);
}
return xPeer;