diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-22 14:22:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-25 13:05:30 +0100 |
commit | 5cb225b0b3dbb55fd44899b1fb16bdcfeb866849 (patch) | |
tree | 05131b73a6786df793b7eed50a4fa5690c6b6865 /xmlsecurity/inc | |
parent | d91236ad8fc74e1ec15c39b90660717ebab013ac (diff) |
loplugin:useuniqueptr in SAXEventKeeperImpl
Change-Id: I1bb683dc8d492db73c2f2cc07c67b4dcb75bc1fb
Reviewed-on: https://gerrit.libreoffice.org/48558
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/inc')
-rw-r--r-- | xmlsecurity/inc/framework/saxeventkeeperimpl.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx b/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx index 9b6a8d472754..4f8a06959a4c 100644 --- a/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx +++ b/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx @@ -96,7 +96,7 @@ private: * it has the same structure with the document which maintains those * elements physically. */ - BufferNode* m_pRootBufferNode; + std::unique_ptr<BufferNode> m_pRootBufferNode; /* * the current active BufferNode. |