summaryrefslogtreecommitdiff
path: root/sw/inc/swmodule.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-23 12:07:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-24 08:34:10 +0200
commit232d0f4f6620bf21f382d38fd98f48ad57525ff0 (patch)
treeb1480602786f7a85ad78276f1365b137ca104704 /sw/inc/swmodule.hxx
parent07d0c305187abeaa7661b0275725b29fe2e3623f (diff)
loplugin:useuniqueptr in SwModule
Change-Id: I37f4df7d309e83b3232dab8268c3b7557b259ae8 Reviewed-on: https://gerrit.libreoffice.org/57869 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/swmodule.hxx')
-rw-r--r--sw/inc/swmodule.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/swmodule.hxx b/sw/inc/swmodule.hxx
index cdb88dbf3569..8e23f8856d7b 100644
--- a/sw/inc/swmodule.hxx
+++ b/sw/inc/swmodule.hxx
@@ -91,7 +91,7 @@ class SW_DLLPUBLIC SwModule final : public SfxModule, public SfxListener, public
SvtCTLOptions* m_pCTLOptions;
SvtUserOptions* m_pUserOptions;
- SfxErrorHandler* m_pErrorHandler;
+ std::unique_ptr<SfxErrorHandler> m_pErrorHandler;
SwAttrPool *m_pAttrPool;