diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-19 16:11:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-20 07:19:16 +0100 |
commit | 19a906f09688f06ee90cac2a50126aeba749a331 (patch) | |
tree | 66320878bd537b646f06afdbf2d2409e961f3024 /svx | |
parent | a7ee3cc31331353d307e4b7aaf7fe88721df6470 (diff) |
drop Color::SetColor(ColorData) in favour of operator=
first stage of getting rid of ColorData
Change-Id: I5e4e95eb958722814c43c8d1ebfef17ad18c29ec
Reviewed-on: https://gerrit.libreoffice.org/49997
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/unobrushitemhelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/unodraw/unobrushitemhelper.cxx b/svx/source/unodraw/unobrushitemhelper.cxx index 6992e3d61ce3..b48e5c360c45 100644 --- a/svx/source/unodraw/unobrushitemhelper.cxx +++ b/svx/source/unodraw/unobrushitemhelper.cxx @@ -199,7 +199,7 @@ SvxBrushItem getSvxBrushItemFromSourceSet(const SfxItemSet& rSourceSet, sal_uInt // for writerfilter: when fill style is none, then don't allow anything other than 0 or auto. if (!bXMLImportHack && aFillColor.GetColor() != 0) - aFillColor.SetColor(COL_AUTO); + aFillColor = COL_AUTO; aFillColor.SetTransparency(0xff); |