summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-08 10:06:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-09 07:14:22 +0100
commitba43b0cb7a62f34fcda214d43122c7c66df2e5a0 (patch)
tree146d062c82fd942ff06b087390e5901c3eba0cfa /include
parent612ed5e752a0b317cf63a27ff1bb663a774022ef (diff)
drop getColor() method of Color
no longer necessary Change-Id: I9e0fcea1134e8c5e27f9effbb5eb79fe5446e33d Reviewed-on: https://gerrit.libreoffice.org/50925 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/tools/color.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/tools/color.hxx b/include/tools/color.hxx
index 7d9202282ea9..1b8fb3eecdd1 100644
--- a/include/tools/color.hxx
+++ b/include/tools/color.hxx
@@ -74,7 +74,7 @@ public:
bool operator<(const Color& b) const
{
- return mnColor < b.GetColor();
+ return mnColor < b.mnColor;
}
void SetRed(sal_uInt8 nRed);
@@ -98,10 +98,6 @@ public:
return COLORDATA_TRANSPARENCY(mnColor);
}
- sal_uInt32 GetColor() const
- {
- return mnColor;
- }
Color GetRGBColor() const
{
return COLORDATA_RGB(mnColor);