summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/splitwin.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-06 20:54:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-06 21:41:43 +0200
commit1c64ecadaa7f391cf89d6f57aa798ef614b765a2 (patch)
treef7a66b38f52543317628a134082d1d9e621199d6 /sfx2/source/dialog/splitwin.cxx
parent85528c15cf9ad125acd347733ca788acda299c2f (diff)
loplugin:unusedvariableplus in sfx2
Change-Id: I69471cdb274f6a9164d3b4ced4643511cce43d19 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91778 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/dialog/splitwin.cxx')
-rw-r--r--sfx2/source/dialog/splitwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx
index 77d175c86215..cd4be8687acb 100644
--- a/sfx2/source/dialog/splitwin.cxx
+++ b/sfx2/source/dialog/splitwin.cxx
@@ -804,7 +804,7 @@ void SfxSplitWindow::RemoveWindow( SfxDockingWindow const * pDockWin, bool bHide
// Remove Windows, and if it was the last of the line, then also remove
// the line (line = itemset)
- std::unique_ptr<DeactivateUpdateMode> pDeactivateUpdateMode( new DeactivateUpdateMode( *this ) );
+ DeactivateUpdateMode aDeactivateUpdateMode( *this );
RemoveItem( pDockWin->GetType() );