diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-13 11:23:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-16 08:38:16 +0200 |
commit | 43c085f95d7ef985d9b2f229ce346f8fe11d0e34 (patch) | |
tree | 227ac463a69963706087fee9dc18317b39a83e5e /sw/inc | |
parent | fc6c9de5e88f849d44dcecf775b60c366d5e41d8 (diff) |
loplugin:useuniqueptr in SwUndoInserts
Change-Id: I678798048b5ff5fc917fd2c37180d977a2a1d606
Reviewed-on: https://gerrit.libreoffice.org/57419
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/undobj.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/undobj.hxx b/sw/inc/undobj.hxx index 70be965c3f14..2e84ff9c1d6e 100644 --- a/sw/inc/undobj.hxx +++ b/sw/inc/undobj.hxx @@ -230,9 +230,9 @@ class SwUndoInsLayFormat; class SwUndoInserts : public SwUndo, public SwUndRng, private SwUndoSaveContent { SwTextFormatColl *pTextFormatColl, *pLastNdColl; - std::vector<SwFrameFormat*>* pFrameFormats; + std::unique_ptr<std::vector<SwFrameFormat*>> pFrameFormats; std::vector< std::shared_ptr<SwUndoInsLayFormat> > m_FlyUndos; - SwRedlineData* pRedlData; + std::unique_ptr<SwRedlineData> pRedlData; bool bSttWasTextNd; protected: sal_uLong nNdDiff; |