diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-03-30 18:30:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-31 11:56:02 +0200 |
commit | 41bdaa37cc62f656cc164992c4c7d39bec7e57e2 (patch) | |
tree | 197c7c42fac134ccf99a7438bc4f2bcbf98cefbb /sw/source/core/inc/scriptinfo.hxx | |
parent | 385f6862e303030d24a2c9d3459c074fcf15c279 (diff) |
tdf#84938 convert SW_* script constants to scoped enum
Change-Id: I09ad92f194a136318ea77edb802ac6601c4e58dc
Diffstat (limited to 'sw/source/core/inc/scriptinfo.hxx')
-rw-r--r-- | sw/source/core/inc/scriptinfo.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/inc/scriptinfo.hxx b/sw/source/core/inc/scriptinfo.hxx index 2cc44b208d6a..865bac95bb24 100644 --- a/sw/source/core/inc/scriptinfo.hxx +++ b/sw/source/core/inc/scriptinfo.hxx @@ -30,6 +30,7 @@ class SwTextNode; class Point; class MultiSelection; typedef std::list< sal_Int32 > PositionList; +enum class SwFontScript; #define SPACING_PRECISION_FACTOR 100 @@ -354,7 +355,7 @@ public: static SwScriptInfo* GetScriptInfo( const SwTextNode& rNode, bool bAllowInvalid = false ); - static sal_uInt8 WhichFont(sal_Int32 nIdx, const OUString* pText, const SwScriptInfo* pSI); + static SwFontScript WhichFont(sal_Int32 nIdx, const OUString* pText, const SwScriptInfo* pSI); }; #endif |