diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-02-15 19:58:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-02-16 07:52:37 +0100 |
commit | 7767ff7b521b7d43a1ea2a4fd19a64bd171da5e0 (patch) | |
tree | 55ffa9447129048f87a52d61bbad124051406794 /forms/source/richtext/richtextcontrol.cxx | |
parent | 51558d2215a4cf881e357eda7da20688ac61e780 (diff) |
loplugin:referencecasting in editeng..framework
Change-Id: Ia3375011ecd0a65afed0f131f477fc1542603fde
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110948
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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; |