From 657702108f3e06e7e90411838cd37f9e6a8b1471 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 31 Mar 2017 11:08:13 +0200 Subject: use actual UNO enums in oox Change-Id: I7fbb3619287acde0c397ff9b4015271ec785cc46 Reviewed-on: https://gerrit.libreoffice.org/35958 Tested-by: Jenkins Reviewed-by: Noel Grandin --- oox/inc/drawingml/textparagraphproperties.hxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'oox/inc/drawingml') 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 #include #include +#include #include #include #include @@ -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; }; -- cgit