diff options
Diffstat (limited to 'forms/source/richtext/richtextcontrol.cxx')
-rw-r--r-- | forms/source/richtext/richtextcontrol.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx index 88f62848063a..ad857d328685 100644 --- a/forms/source/richtext/richtextcontrol.cxx +++ b/forms/source/richtext/richtextcontrol.cxx @@ -190,7 +190,7 @@ namespace frm if ( pPeer ) { // announce the peer to the base class - setPeer( pPeer.get() ); + setPeer( pPeer ); // initialize ourself (and thus the peer) with the model properties updateFromModel(); @@ -272,7 +272,7 @@ namespace frm VclPtrInstance<RichTextControl> pRichTextControl( pEngine, _pParentWindow, _nStyle, nullptr, pPeer.get() ); // some knittings - pRichTextControl->SetComponentInterface( pPeer.get() ); + pRichTextControl->SetComponentInterface( pPeer ); // outta here return pPeer; |