summaryrefslogtreecommitdiff
path: root/sw/inc/redline.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-07-21 09:05:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-07-21 10:29:13 +0200
commita6d4a664869a8bcbd01053cf152d7f455939ab46 (patch)
treebd732148db4205a864a87ad844300cf736fef404 /sw/inc/redline.hxx
parenta0bcd1d187a4e56a9fa600462842004545b6be9c (diff)
shrink size of SwRangeRedline
by re-arranging members, remove holes in the structure Change-Id: I934d4867f29bdd1bfd4e6afb8d8ed0ccc88ca219 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137282 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/redline.hxx')
-rw-r--r--sw/inc/redline.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx
index 37c7e536d52c..dfbfa177a855 100644
--- a/sw/inc/redline.hxx
+++ b/sw/inc/redline.hxx
@@ -157,11 +157,10 @@ class SW_DLLPUBLIC SwRangeRedline final : public SwPaM
{
SwRedlineData* m_pRedlineData;
SwNodeIndex* m_pContentSect;
+ std::optional<tools::Long> m_oLOKLastNodeTop;
+ sal_uInt32 m_nId;
bool m_bDelLastPara : 1;
bool m_bIsVisible : 1;
- sal_uInt32 m_nId;
-
- std::optional<tools::Long> m_oLOKLastNodeTop;
void MoveToSection();
void CopyToSection();
@@ -178,7 +177,7 @@ public:
SwRangeRedline(SwRedlineData* pData, const SwPosition& rPos,
bool bDelLP) :
SwPaM( rPos ), m_pRedlineData( pData ), m_pContentSect( nullptr ),
- m_bDelLastPara( bDelLP ), m_bIsVisible( true ), m_nId( s_nLastId++ )
+ m_nId( s_nLastId++ ), m_bDelLastPara( bDelLP ), m_bIsVisible( true )
{}
SwRangeRedline( const SwRangeRedline& );
virtual ~SwRangeRedline() override;