diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-30 15:06:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-31 06:58:55 +0000 |
commit | 7acbf45fcc6e2f8672bbecc4787cbcea8967219b (patch) | |
tree | 226034139755bd8caf97892d2918c7715eba1d72 /include/editeng/writingmodeitem.hxx | |
parent | use actual UNO enums in unotools (diff) | |
download | core-7acbf45fcc6e2f8672bbecc4787cbcea8967219b.tar.gz core-7acbf45fcc6e2f8672bbecc4787cbcea8967219b.zip |
use actual UNO enums in editeng
Change-Id: I58e794f161f3c4dd103985f575bc25202d4989b3
Reviewed-on: https://gerrit.libreoffice.org/35907
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng/writingmodeitem.hxx')
-rw-r--r-- | include/editeng/writingmodeitem.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/editeng/writingmodeitem.hxx b/include/editeng/writingmodeitem.hxx index d3cd38a65b67..518c087c83d2 100644 --- a/include/editeng/writingmodeitem.hxx +++ b/include/editeng/writingmodeitem.hxx @@ -37,8 +37,9 @@ public: virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const override; virtual SvStream& Store(SvStream & rStrm, sal_uInt16 nIVer) const override; - virtual sal_uInt16 GetVersion( sal_uInt16 nFileVersion ) const override; + virtual sal_uInt16 GetVersion( sal_uInt16 nFileVersion ) const override; virtual bool operator==( const SfxPoolItem& ) const override; + css::text::WritingMode GetValue() const { return (css::text::WritingMode)SfxUInt16Item::GetValue(); } virtual bool GetPresentation( SfxItemPresentation ePres, MapUnit eCoreMetric, |