summaryrefslogtreecommitdiff
path: root/forms/source/richtext/richtextcontrol.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/richtext/richtextcontrol.cxx')
-rw-r--r--forms/source/richtext/richtextcontrol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx
index a9f8775c415e..4d2916dee931 100644
--- a/forms/source/richtext/richtextcontrol.cxx
+++ b/forms/source/richtext/richtextcontrol.cxx
@@ -175,7 +175,7 @@ namespace frm
{
VCLXWindow* pParentXWin = VCLXWindow::GetImplementation( _rParentPeer );
if ( pParentXWin )
- pParentWin = pParentXWin->GetWindow();
+ pParentWin = pParentXWin->GetWindow().get();
DBG_ASSERT( pParentWin, "ORichTextControl::createPeer: could not obtain the VCL-level parent window!" );
}