diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-12 11:23:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-16 08:21:36 +0200 |
commit | d911b3d37d13e84e0c6cb8eb990e58a0939a6f6a (patch) | |
tree | 96b7982104f483923a4e4adca76e49e43eac6f05 /store/source/storbios.hxx | |
parent | a0b3e81aeb10488c4746360dc1669f3aed71cb67 (diff) |
loplugin:useuniqueptr in OStorePageBIOS
update the plugin to check all methods for deleting fields.
Also remove the dead checks for new failing here, can never have worked,
because it is not calling the std::nothrow variant.
Change-Id: I139410e42f83ae2db0cd38ceee81c8b4c310268c
Reviewed-on: https://gerrit.libreoffice.org/52881
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'store/source/storbios.hxx')
-rw-r--r-- | store/source/storbios.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/store/source/storbios.hxx b/store/source/storbios.hxx index bea29f9f37fa..8c2abd54f5a7 100644 --- a/store/source/storbios.hxx +++ b/store/source/storbios.hxx @@ -120,7 +120,7 @@ private: rtl::Reference<ILockBytes> m_xLockBytes; osl::Mutex m_aMutex; - SuperBlockPage * m_pSuper; + std::unique_ptr<SuperBlockPage> m_pSuper; bool m_bWriteable; |