diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-26 17:13:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-28 07:34:27 +0100 |
commit | e2cb154195fdc2ffccdb6f5e87cae8b29640b3eb (patch) | |
tree | 7c3d53d78e0867aa879b98d84211d1e73602520f /tools | |
parent | 0ea41fea75cd1ac1d81fa57c4411e75a6b4001f0 (diff) |
convert COL_ constants to be of type Color
Change-Id: I0e25c8950ac26b851ff42f71e1471fcbe4770d48
Reviewed-on: https://gerrit.libreoffice.org/50373
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/generic/color.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/generic/color.cxx b/tools/source/generic/color.cxx index 9f88f2c111b3..9abc74141728 100644 --- a/tools/source/generic/color.cxx +++ b/tools/source/generic/color.cxx @@ -224,7 +224,7 @@ SvStream& ReadColor( SvStream& rIStream, Color& rColor ) } else { - static const ColorData aColAry[] = + static const Color aColAry[] = { COL_BLACK, // COL_BLACK COL_BLUE, // COL_BLUE @@ -260,9 +260,9 @@ SvStream& ReadColor( SvStream& rIStream, Color& rColor ) }; if ( nColorName < SAL_N_ELEMENTS( aColAry ) ) - rColor.mnColor = aColAry[nColorName]; + rColor = aColAry[nColorName]; else - rColor.mnColor = COL_BLACK; + rColor = COL_BLACK; } return rIStream; |