summaryrefslogtreecommitdiff
path: root/oox/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-31 11:08:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-31 11:49:46 +0000
commit657702108f3e06e7e90411838cd37f9e6a8b1471 (patch)
treefead6bb6e770c84a7397d7916e62efad5d78f9f1 /oox/inc
parent82025e7f7af562549a900b9f1d76ed73fe4f2a58 (diff)
use actual UNO enums in oox
Change-Id: I7fbb3619287acde0c397ff9b4015271ec785cc46 Reviewed-on: https://gerrit.libreoffice.org/35958 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/inc')
-rw-r--r--oox/inc/drawingml/textparagraphproperties.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/oox/inc/drawingml/textparagraphproperties.hxx b/oox/inc/drawingml/textparagraphproperties.hxx
index 4b869f5929cd..c85a4f84905b 100644
--- a/oox/inc/drawingml/textparagraphproperties.hxx
+++ b/oox/inc/drawingml/textparagraphproperties.hxx
@@ -24,6 +24,7 @@
#include <drawingml/misccontexts.hxx>
#include <drawingml/textcharacterproperties.hxx>
#include <com/sun/star/style/NumberingType.hpp>
+#include <com/sun/star/style/ParagraphAdjust.hpp>
#include <drawingml/textfont.hxx>
#include <drawingml/textspacing.hxx>
#include <boost/optional.hpp>
@@ -93,8 +94,8 @@ public:
boost::optional< sal_Int32 >& getParaLeftMargin(){ return moParaLeftMargin; }
boost::optional< sal_Int32 >& getFirstLineIndentation(){ return moFirstLineIndentation; }
- boost::optional< sal_Int16 >& getParaAdjust() { return moParaAdjust; }
- void setParaAdjust( sal_Int16 nParaAdjust ) { moParaAdjust = nParaAdjust; }
+ boost::optional< css::style::ParagraphAdjust >& getParaAdjust() { return moParaAdjust; }
+ void setParaAdjust( css::style::ParagraphAdjust nParaAdjust ) { moParaAdjust = nParaAdjust; }
void apply( const TextParagraphProperties& rSourceProps );
void pushToPropSet( const ::oox::core::XmlFilterBase* pFilterBase,
@@ -123,7 +124,7 @@ protected:
TextSpacing maParaBottomMargin;
boost::optional< sal_Int32 > moParaLeftMargin;
boost::optional< sal_Int32 > moFirstLineIndentation;
- boost::optional< sal_Int16 > moParaAdjust;
+ boost::optional< css::style::ParagraphAdjust > moParaAdjust;
sal_Int16 mnLevel;
};