diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-11-19 22:50:10 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-11-19 22:50:14 +0100 |
commit | 34411dc2f0535a21b4ec3bec19d493e0aa037646 (patch) | |
tree | 0fba90542a2540fa682a58d2e4db518fbd94c44d /include/tools | |
parent | 37f613c6eae5ee7e221cecf92ce321622d3cf4a8 (diff) |
Mark Color::AsRGBHexString() as const
Change-Id: Idf00e228c480afe2bbbb64682ed01f2c778b6d9d
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/color.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/color.hxx b/include/tools/color.hxx index 3515e59b7ed3..ea921878e48c 100644 --- a/include/tools/color.hxx +++ b/include/tools/color.hxx @@ -164,7 +164,7 @@ public: // Return color as RGB hex string // for example "00ff00" for green color - OUString AsRGBHexString(); + OUString AsRGBHexString() const; // get ::basegfx::BColor from this color ::basegfx::BColor getBColor() const { return ::basegfx::BColor(GetRed() / 255.0, GetGreen() / 255.0, GetBlue() / 255.0); } |