diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-04-03 12:01:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-04-03 14:11:49 +0200 |
commit | f79a67a3d09db860b7bb783cdf9e28a5dcd39ea4 (patch) | |
tree | 6a0a39b01d9ddc9557213a9d3745c0b56beb380c /sw/source/uibase/inc | |
parent | 65c2ba2daa61e1a7e9faca680abefb13544f04fc (diff) |
restore pseudo-level indent for sections
which went missing in...
commit 5a2c0ab29719ac914d30d8789c0e386541702cbf
Author: Caolán McNamara <caolanm@redhat.com>
Date: Fri Feb 28 11:13:12 2020 +0000
weld writer navigator
Change-Id: Ia15b282c4621b7e0c35641976ffac18a93ce6a0d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91621
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/inc')
-rw-r--r-- | sw/source/uibase/inc/content.hxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sw/source/uibase/inc/content.hxx b/sw/source/uibase/inc/content.hxx index 4bb37efaa544..414db7068dcb 100644 --- a/sw/source/uibase/inc/content.hxx +++ b/sw/source/uibase/inc/content.hxx @@ -53,6 +53,21 @@ class SwOutlineContent : public SwContent bool IsMoveable() const {return bIsMoveable;}; }; +class SwRegionContent : public SwContent +{ + + sal_uInt8 nRegionLevel; + + public: + SwRegionContent( const SwContentType* pCnt, + const OUString& rName, + sal_uInt8 nLevel, + long nYPos) : + SwContent(pCnt, rName, nYPos), + nRegionLevel(nLevel){} + sal_uInt8 GetRegionLevel() const {return nRegionLevel;} +}; + class SwURLFieldContent : public SwContent { OUString sURL; |