diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-13 08:17:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-13 08:17:42 +0200 |
commit | b8d977c0178f8ac4ee299722d50c1481a15b45c8 (patch) | |
tree | 6cd8560661bb8b713e4373379052e85ab30598dd /include/svx/svdmodel.hxx | |
parent | 80d2fa87fdaf67615d7b8128f3c05b239a1f1c05 (diff) |
convert CharCompressType to scoped enum
and move it to svl, where it belongs
Change-Id: Ic4d846419dfe2dd85de5ade8ed1a041867bbf1dc
Diffstat (limited to 'include/svx/svdmodel.hxx')
-rw-r--r-- | include/svx/svdmodel.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx index 4cad2a4cf17b..d2b4ef8a2f87 100644 --- a/include/svx/svdmodel.hxx +++ b/include/svx/svdmodel.hxx @@ -78,6 +78,7 @@ class SdrOutlinerCache; class SdrUndoFactory; class ImageMap; class TextChain; +enum class CharCompressType; namespace comphelper { class IEmbeddedHelper; @@ -203,7 +204,7 @@ public: //get a vector of all the SdrOutliner belonging to the model std::vector<SdrOutliner*> GetActiveOutliners() const; std::unique_ptr<SdrModelImpl> mpImpl; - sal_uInt16 mnCharCompressType; + CharCompressType mnCharCompressType; sal_uInt16 mnHandoutPageCount; bool mbModelLocked; bool mbKernAsianPunctuation; @@ -532,8 +533,8 @@ public: void SetForbiddenCharsTable( const rtl::Reference<SvxForbiddenCharactersTable>& xForbiddenChars ); const rtl::Reference<SvxForbiddenCharactersTable>& GetForbiddenCharsTable() const { return mpForbiddenCharactersTable;} - void SetCharCompressType( sal_uInt16 nType ); - sal_uInt16 GetCharCompressType() const { return mnCharCompressType; } + void SetCharCompressType( CharCompressType nType ); + CharCompressType GetCharCompressType() const { return mnCharCompressType; } void SetKernAsianPunctuation( bool bEnabled ); bool IsKernAsianPunctuation() const { return mbKernAsianPunctuation; } |