summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/view1.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-31 16:34:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-31 22:03:58 +0200
commit053d4b0bc3288c6e7e09ff2e1cdb0f8219bc3821 (patch)
treeeb65b4c1c11ed34d9c6051ca0fa8b4c9d29754c0 /sw/source/uibase/uiview/view1.cxx
parent1b6026f6661674439a638ae6c4d5c3771fafdb22 (diff)
use std::unique_ptr
Change-Id: I49de2307c7f508ce25eb89e88441fc7a2350bf27 Reviewed-on: https://gerrit.libreoffice.org/55140 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/uiview/view1.cxx')
-rw-r--r--sw/source/uibase/uiview/view1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uiview/view1.cxx b/sw/source/uibase/uiview/view1.cxx
index 6c6ab090f989..404b2e726bf9 100644
--- a/sw/source/uibase/uiview/view1.cxx
+++ b/sw/source/uibase/uiview/view1.cxx
@@ -103,7 +103,7 @@ void SwView::Activate(bool bMDIActivate)
m_sSwViewData.clear();
}
- AttrChangedNotify(m_pWrtShell);
+ AttrChangedNotify(m_pWrtShell.get());
// Initialize Fielddlg newly if necessary (e.g. for TYP_SETVAR)
sal_uInt16 nId = SwFieldDlgWrapper::GetChildWindowId();
@@ -133,7 +133,7 @@ void SwView::Activate(bool bMDIActivate)
}
else
// At least call the Notify (as a precaution because of the SlotFilter).
- AttrChangedNotify(m_pWrtShell);
+ AttrChangedNotify(m_pWrtShell.get());
SfxViewShell::Activate(bMDIActivate);
}