summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porhyph.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/porhyph.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/porhyph.hxx')
-rw-r--r--sw/source/core/text/porhyph.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/text/porhyph.hxx b/sw/source/core/text/porhyph.hxx
index b00bddc1cf5d..3ed5cf12da9f 100644
--- a/sw/source/core/text/porhyph.hxx
+++ b/sw/source/core/text/porhyph.hxx
@@ -26,7 +26,7 @@ class SwHyphPortion : public SwExpandPortion
public:
SwHyphPortion()
{
- SetWhichPor( POR_HYPH );
+ SetWhichPor( PortionType::Hyphen );
}
virtual bool GetExpText( const SwTextSizeInfo &rInf, OUString &rText ) const override;
virtual bool Format( SwTextFormatInfo &rInf ) override;
@@ -42,7 +42,7 @@ public:
explicit SwHyphStrPortion(const OUString &rStr)
: aExpand(rStr + "-")
{
- SetWhichPor( POR_HYPHSTR );
+ SetWhichPor( PortionType::HyphenStr );
}
virtual bool GetExpText( const SwTextSizeInfo &rInf, OUString &rText ) const override;