diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-18 15:50:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-19 11:57:22 +0200 |
commit | 8ee6e15080cd98c654e213d70f0b169ad541c56e (patch) | |
tree | c27c1a513fa5e0950e9ef3a3f22c0877ec593687 /sw/inc | |
parent | 174d8630d754c429b6a88964edae9c9dda707344 (diff) |
loplugin:useuniqueptr in SwUndoSplitTable
Change-Id: I364d57e30a3b8470d1b4739096f13248e1389a08
Reviewed-on: https://gerrit.libreoffice.org/57694
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/swtable.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/swtable.hxx b/sw/inc/swtable.hxx index 4dc1e6831a1c..eea1f64fa53a 100644 --- a/sw/inc/swtable.hxx +++ b/sw/inc/swtable.hxx @@ -217,7 +217,7 @@ public: // SwSavRowSpan is the structure needed by Undo to undo the split operation // CleanUpRowSpan corrects the (top of the) second table and delivers the structure // for Undo - SwSaveRowSpan* CleanUpTopRowSpan( sal_uInt16 nSplitLine ); + std::unique_ptr<SwSaveRowSpan> CleanUpTopRowSpan( sal_uInt16 nSplitLine ); // RestoreRowSpan is called by Undo to restore the old row span values void RestoreRowSpan( const SwSaveRowSpan& ); // CleanUpBottomRowSpan corrects the overhanging row spans at the end of the first table |