diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-05-24 13:03:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-05-24 15:32:03 +0200 |
commit | 51c639d1e85bc62fb8dec28faeed31ddb30c2854 (patch) | |
tree | f05f65fc17485079da78a4b1ffa102e0736ce822 /sw/inc | |
parent | ff634cf62a663c1e6e744cedf26d9746b235721d (diff) |
expand SwRangeRedlinePtr
it is just obfuscating the code
Change-Id: I72491d4861d06bd032bb014314c18605967aa3c9
Reviewed-on: https://gerrit.libreoffice.org/72824
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/docary.hxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/inc/docary.hxx b/sw/inc/docary.hxx index 56ba62c654d4..0e025c996bfc 100644 --- a/sw/inc/docary.hxx +++ b/sw/inc/docary.hxx @@ -322,8 +322,6 @@ struct CompareSwRedlineTable // Notification type for notifying about redlines to LOK clients enum class RedlineNotification { Add, Remove, Modify }; -typedef SwRangeRedline* SwRangeRedlinePtr; - class SwRedlineTable { public: @@ -338,9 +336,9 @@ public: bool Contains(const SwRangeRedline* p) const { return maVector.find(const_cast<SwRangeRedline*>(p)) != maVector.end(); } size_type GetPos(const SwRangeRedline* p) const; - bool Insert(SwRangeRedlinePtr& p); - bool Insert(SwRangeRedlinePtr& p, size_type& rInsPos); - bool InsertWithValidRanges(SwRangeRedlinePtr& p, size_type* pInsPos = nullptr); + bool Insert(SwRangeRedline*& p); + bool Insert(SwRangeRedline*& p, size_type& rInsPos); + bool InsertWithValidRanges(SwRangeRedline*& p, size_type* pInsPos = nullptr); void Remove( size_type nPos ); void Remove( const SwRangeRedline* p ); |