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 /framework/source/services | |
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 'framework/source/services')
-rw-r--r-- | framework/source/services/autorecovery.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index 76594a4ec5f3..bdc46b1d73d4 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -3414,11 +3414,11 @@ void AutoRecovery::implts_openOneDoc(const OUString& sURL , } // introduce model/view/controller to each other - xController->attachModel( xModel.get() ); - xModel->connectController( xController.get() ); - xTargetFrame->setComponent( xController->getComponentWindow(), xController.get() ); + xController->attachModel( xModel ); + xModel->connectController( xController ); + xTargetFrame->setComponent( xController->getComponentWindow(), xController ); xController->attachFrame( xTargetFrame ); - xModel->setCurrentController( xController.get() ); + xModel->setCurrentController( xController ); } rInfo.Document = xModel.get(); |