diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-30 15:47:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-31 06:59:31 +0000 |
commit | dcffc21805828ddff7de1282f3d40ffdf3fac38d (patch) | |
tree | 1b4e81850b3fcd42cee470a18413745732c36c4a /include/svx/swframevalidation.hxx | |
parent | use actual UNO enums in sfx2 (diff) | |
download | core-dcffc21805828ddff7de1282f3d40ffdf3fac38d.tar.gz core-dcffc21805828ddff7de1282f3d40ffdf3fac38d.zip |
use actual UNO enums in svx
Change-Id: I00f53260667861ca2595892b5605479da3401adb
Reviewed-on: https://gerrit.libreoffice.org/35913
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/swframevalidation.hxx')
-rw-r--r-- | include/svx/swframevalidation.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/svx/swframevalidation.hxx b/include/svx/swframevalidation.hxx index 124434f1e343..cb75145937c8 100644 --- a/include/svx/swframevalidation.hxx +++ b/include/svx/swframevalidation.hxx @@ -18,16 +18,18 @@ */ #ifndef INCLUDED_SVX_SWFRAMEVALIDATION_HXX #define INCLUDED_SVX_SWFRAMEVALIDATION_HXX + #include <sal/types.h> #include <tools/gen.hxx> #include <limits.h> +#include <com/sun/star/text/TextContentAnchorType.hpp> /* struct to determine min/max values for fly frame positioning in Writer */ struct SvxSwFrameValidation { - sal_Int16 nAnchorType; //css::text::TextContentAnchorType + css::text::TextContentAnchorType nAnchorType; sal_Int16 nHoriOrient; //css::text::HoriOrientation sal_Int16 nVertOrient; //css::text::VertOrientation sal_Int16 nHRelOrient; //css::text::RelOrientation @@ -56,7 +58,7 @@ struct SvxSwFrameValidation Size aPercentSize; // Size for 100% value SvxSwFrameValidation() : - nAnchorType(0), + nAnchorType(css::text::TextContentAnchorType_AT_PARAGRAPH), nHoriOrient(0), nVertOrient(0), nHRelOrient(0), |