summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-02 08:36:23 +0200
committerNoel Grandin <noel@peralex.com>2016-09-05 08:21:46 +0200
commit65ca57a447bae97714b1b32aa2df5705215a95ad (patch)
tree9b62f8fb4a890d5fcba13abc446b3244e9c5232f /reportdesign
parenta881fd7e66294ada222e1d618a7d47a0549a2342 (diff)
convert LineStyle to scoped enum
Change-Id: I30cfa5a0649b806604c443f55683d1f2a430983d
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/report/EndMarker.cxx2
-rw-r--r--reportdesign/source/ui/report/StartMarker.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/ui/report/EndMarker.cxx b/reportdesign/source/ui/report/EndMarker.cxx
index cdf9681eac7f..ee75fcec5e6b 100644
--- a/reportdesign/source/ui/report/EndMarker.cxx
+++ b/reportdesign/source/ui/report/EndMarker.cxx
@@ -72,7 +72,7 @@ void OEndMarker::Paint(vcl::RenderContext& rRenderContext, const Rectangle& /*rR
Size(aSize.Width() - nCornerSpace,
aSize.Height() - nCornerSpace - nCornerSpace));
ColorChanger aColors(this, COL_WHITE, COL_WHITE);
- rRenderContext.DrawPolyLine( tools::Polygon(PixelToLogic(aRect)), LineInfo(LINE_SOLID, 2));
+ rRenderContext.DrawPolyLine( tools::Polygon(PixelToLogic(aRect)), LineInfo(LineStyle::Solid, 2));
}
}
diff --git a/reportdesign/source/ui/report/StartMarker.cxx b/reportdesign/source/ui/report/StartMarker.cxx
index 2d794da3f5c0..70b134e74413 100644
--- a/reportdesign/source/ui/report/StartMarker.cxx
+++ b/reportdesign/source/ui/report/StartMarker.cxx
@@ -147,7 +147,7 @@ void OStartMarker::Paint(vcl::RenderContext& rRenderContext, const Rectangle& /*
aSize.Height() - nCornerHeight - nCornerHeight));
ColorChanger aColors(&rRenderContext, COL_WHITE, COL_WHITE);
rRenderContext.DrawPolyLine( tools::Polygon(rRenderContext.PixelToLogic(aRect)),
- LineInfo(LINE_SOLID, 2));
+ LineInfo(LineStyle::Solid, 2));
}
}