diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-09-15 23:53:29 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-09-16 13:04:07 +0200 |
commit | 01648a391107c1501ed1948ef1b18539d551176e (patch) | |
tree | e581f6b6e4fdc8696b624e45599ea8bcf0a8ad4b /sw/inc/tblafmt.hxx | |
parent | 54045cc813c79e53abe608cc1a8d35ee7177465e (diff) |
sw: replace boost::ptr_vector with std::vector<std::unique_ptr>
Change-Id: I880526fdcce3be0f9e9149695812e048d95004e6
Diffstat (limited to 'sw/inc/tblafmt.hxx')
-rw-r--r-- | sw/inc/tblafmt.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/tblafmt.hxx b/sw/inc/tblafmt.hxx index 64b8a9776d82..3503bb72eb51 100644 --- a/sw/inc/tblafmt.hxx +++ b/sw/inc/tblafmt.hxx @@ -310,9 +310,9 @@ public: size_t size() const; SwTableAutoFormat const& operator[](size_t i) const; SwTableAutoFormat & operator[](size_t i); - void InsertAutoFormat(size_t i, SwTableAutoFormat * pFormat); + void InsertAutoFormat(size_t i, std::unique_ptr<SwTableAutoFormat> pFormat); void EraseAutoFormat(size_t i); - SwTableAutoFormat* ReleaseAutoFormat(size_t i); + std::unique_ptr<SwTableAutoFormat> ReleaseAutoFormat(size_t i); bool Load(); bool Save() const; |