summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porref.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/porref.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/porref.hxx')
-rw-r--r--sw/source/core/text/porref.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/porref.hxx b/sw/source/core/text/porref.hxx
index 7d5963a24de5..0c7dc85037b9 100644
--- a/sw/source/core/text/porref.hxx
+++ b/sw/source/core/text/porref.hxx
@@ -24,7 +24,7 @@
class SwRefPortion : public SwTextPortion
{
public:
- SwRefPortion(){ SetWhichPor( POR_REF ); }
+ SwRefPortion(){ SetWhichPor( PortionType::Ref ); }
virtual void Paint( const SwTextPaintInfo &rInf ) const override;
};