summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-30 15:06:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-31 06:58:55 +0000
commit7acbf45fcc6e2f8672bbecc4787cbcea8967219b (patch)
tree226034139755bd8caf97892d2918c7715eba1d72 /include
parent3c56928c9245b87feb2c32dbd200ff108089db61 (diff)
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')
-rw-r--r--include/editeng/editeng.hxx1
-rw-r--r--include/editeng/writingmodeitem.hxx3
2 files changed, 3 insertions, 1 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx
index fcab47ad4269..a8fa950a6805 100644
--- a/include/editeng/editeng.hxx
+++ b/include/editeng/editeng.hxx
@@ -25,6 +25,7 @@
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/i18n/WordType.hpp>
#include <com/sun/star/i18n/CharacterIteratorMode.hpp>
+#include <com/sun/star/i18n/TransliterationModules.hpp>
#include <rsc/rscsfx.hxx>
#include <editeng/editdata.hxx>
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,