summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porref.hxx
diff options
context:
space:
mode:
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;
};