diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-20 14:26:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-21 09:16:30 +0100 |
commit | 346db1dac29d63445049c14c6c3e022d419e388e (patch) | |
tree | 150da3aa27be5e18a83f252deb4a78c20f3ed172 /reportdesign/source/ui | |
parent | e73cba0cea07eedee5507535f585e89e42ea0124 (diff) |
RGB_Color method is unnecessary
it has exactly the same effect as just letting the constant be converted
to Color via the Color(ColorData) constructor.
This commit is part of the process of removing ColorData.
Change-Id: Ie12ad451ba3f43a627ebdbb132a5369f5760ba52
Reviewed-on: https://gerrit.libreoffice.org/50038
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign/source/ui')
-rw-r--r-- | reportdesign/source/ui/report/ReportController.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx index eb01ee3810c4..1e71f487d053 100644 --- a/reportdesign/source/ui/report/ReportController.cxx +++ b/reportdesign/source/ui/report/ReportController.cxx @@ -2353,7 +2353,7 @@ void OReportController::openPageDialog(const uno::Reference<report::XSection>& _ const Graphic aNullGraphic; const ::Color aNullLineCol(COL_DEFAULT_SHAPE_STROKE); // #i121448# Use defined default color const ::Color aNullFillCol(COL_DEFAULT_SHAPE_FILLING); // #i121448# Use defined default color - const XGradient aNullGrad(RGB_Color(COL_BLACK), RGB_Color(COL_WHITE)); + const XGradient aNullGrad(COL_BLACK, COL_WHITE); const XHatch aNullHatch(aNullLineCol); std::vector<SfxPoolItem*> pDefaults |