diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-16 12:44:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-17 06:04:30 +0000 |
commit | f2a873cd13adf0b74d18af203676f2de86d1cb2e (patch) | |
tree | 8b0f044b217e86db3c7320855e4df133fbabf3ae /drawinglayer/qa | |
parent | 1bffa5e110772a7d6183ac64e56c23f2c3019f93 (diff) |
convert SvxBorderStyle to scoped enum
and rename to SvxBorderLineStyle
Change-Id: I19e530f162e4ca6290a0ad076e7fe3d5775ae6bc
Reviewed-on: https://gerrit.libreoffice.org/35265
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer/qa')
-rw-r--r-- | drawinglayer/qa/unit/border.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drawinglayer/qa/unit/border.cxx b/drawinglayer/qa/unit/border.cxx index 60a698927143..0df10ac5e42b 100644 --- a/drawinglayer/qa/unit/border.cxx +++ b/drawinglayer/qa/unit/border.cxx @@ -22,6 +22,7 @@ #include <test/bootstrapfixture.hxx> #include <vcl/vclptr.hxx> #include <vcl/virdev.hxx> +#include <editeng/borderline.hxx> using namespace com::sun::star; @@ -57,7 +58,7 @@ void DrawinglayerBorderTest::testDoubleDecompositionSolid() basegfx::BColor aColorLeft; basegfx::BColor aColorGap; bool bHasGapColor = false; - sal_Int16 nStyle = table::BorderLineStyle::DOUBLE; + SvxBorderLineStyle nStyle = SvxBorderLineStyle::DOUBLE; rtl::Reference<drawinglayer::primitive2d::BorderLinePrimitive2D> aBorder(new drawinglayer::primitive2d::BorderLinePrimitive2D(aStart, aEnd, fLeftWidth, fDistance, fRightWidth, fExtendLeftStart, fExtendLeftEnd, fExtendRightStart, fExtendRightEnd, aColorRight, aColorLeft, aColorGap, bHasGapColor, nStyle)); // Decompose it into polygons. @@ -107,7 +108,7 @@ void DrawinglayerBorderTest::testDoublePixelProcessing() basegfx::BColor aColorLeft; basegfx::BColor aColorGap; bool bHasGapColor = false; - sal_Int16 nStyle = table::BorderLineStyle::DOUBLE; + SvxBorderLineStyle nStyle = SvxBorderLineStyle::DOUBLE; rtl::Reference<drawinglayer::primitive2d::BorderLinePrimitive2D> xBorder(new drawinglayer::primitive2d::BorderLinePrimitive2D(aStart, aEnd, fLeftWidth, fDistance, fRightWidth, fExtendLeftStart, fExtendLeftEnd, fExtendRightStart, fExtendRightEnd, aColorRight, aColorLeft, aColorGap, bHasGapColor, nStyle)); drawinglayer::primitive2d::Primitive2DContainer aPrimitives; aPrimitives.push_back(drawinglayer::primitive2d::Primitive2DReference(xBorder.get())); |