summaryrefslogtreecommitdiff
path: root/sw/source/core/text/portab.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-17 14:46:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-18 07:48:57 +0100
commit60b0526ea4929ce273de499f552a4d478a973d10 (patch)
treeab44643d929f24ce8520cf873853b38888d7b22a /sw/source/core/text/portab.hxx
parent0b853017a29a927943313d7a2d9994c887ad335d (diff)
convert POR constants to scoped enum
Change-Id: Ia146f1f932cf4437e2e7e20722b0957a458979fd Reviewed-on: https://gerrit.libreoffice.org/66514 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/text/portab.hxx')
-rw-r--r--sw/source/core/text/portab.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/text/portab.hxx b/sw/source/core/text/portab.hxx
index e03858f14915..3c6e7a5df137 100644
--- a/sw/source/core/text/portab.hxx
+++ b/sw/source/core/text/portab.hxx
@@ -47,7 +47,7 @@ class SwTabLeftPortion : public SwTabPortion
public:
SwTabLeftPortion( const sal_uInt16 nTabPosVal, const sal_Unicode cFillChar, bool bAutoTab )
: SwTabPortion( nTabPosVal, cFillChar, bAutoTab )
- { SetWhichPor( POR_TABLEFT ); }
+ { SetWhichPor( PortionType::TabLeft ); }
};
class SwTabRightPortion : public SwTabPortion
@@ -55,7 +55,7 @@ class SwTabRightPortion : public SwTabPortion
public:
SwTabRightPortion( const sal_uInt16 nTabPosVal, const sal_Unicode cFillChar )
: SwTabPortion( nTabPosVal, cFillChar )
- { SetWhichPor( POR_TABRIGHT ); }
+ { SetWhichPor( PortionType::TabRight ); }
};
class SwTabCenterPortion : public SwTabPortion
@@ -63,7 +63,7 @@ class SwTabCenterPortion : public SwTabPortion
public:
SwTabCenterPortion( const sal_uInt16 nTabPosVal, const sal_Unicode cFillChar )
: SwTabPortion( nTabPosVal, cFillChar )
- { SetWhichPor( POR_TABCENTER ); }
+ { SetWhichPor( PortionType::TabCenter ); }
};
class SwTabDecimalPortion : public SwTabPortion
@@ -83,7 +83,7 @@ public:
: SwTabPortion( nTabPosVal, cFillChar ),
mcTab(cTab),
mnWidthOfPortionsUpTpDecimalPosition( USHRT_MAX )
- { SetWhichPor( POR_TABDECIMAL ); }
+ { SetWhichPor( PortionType::TabDecimal ); }
sal_Unicode GetTabDecimal() const { return mcTab; }