diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-04 15:00:43 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-05 07:50:55 +0100 |
commit | 0cc702232e4799f03a468d1e8014d050a683165e (patch) | |
tree | 79a328ed3826547eb102626ad9c69f736d05232e /sfx2/source/view/viewfrm.cxx | |
parent | a8694d21a87c44f6008a3547f0b004a17253fdd6 (diff) |
use unique_ptr in SfxObjectShell_Impl
Change-Id: I3f3b0514bdb87f59d9c5f34d2d36dc63e8b1e33d
Reviewed-on: https://gerrit.libreoffice.org/64527
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/view/viewfrm.cxx')
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index a642771b2c1f..79fad18c8048 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -614,7 +614,7 @@ void SfxViewFrame::ExecReload_Impl( SfxRequest& rReq ) pView = GetNext( *pView, xOldObj ); } - DELETEZ( xOldObj->Get_Impl()->pReloadTimer ); + xOldObj->Get_Impl()->pReloadTimer.reset(); std::unique_ptr<SfxItemSet> pNewSet; std::shared_ptr<const SfxFilter> pFilter = pMedium->GetFilter(); |