diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-01-16 19:20:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-01-17 08:51:14 +0100 |
commit | 5bbaca6d3ccef10223b8618c25f41b91dd467ffc (patch) | |
tree | 611640e69168c0f5d28efeb8e6b7f32e06eb2d98 /include/filter | |
parent | 50678a771daa6cd5d3414c25930761c65aab4244 (diff) |
return Color from BGRToRGB
instead of converting at all the call-sites
Change-Id: I4732082fcd4731f6fd46aef197a15564586f0c90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109450
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/filter')
-rw-r--r-- | include/filter/msfilter/util.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/filter/msfilter/util.hxx b/include/filter/msfilter/util.hxx index cb70198ebedd..7e25e701420d 100644 --- a/include/filter/msfilter/util.hxx +++ b/include/filter/msfilter/util.hxx @@ -34,7 +34,7 @@ namespace msfilter::util { MSFILTER_DLLPUBLIC rtl_TextEncoding getBestTextEncodingFromLocale(const css::lang::Locale &rLocale); /// Convert a color in BGR format to RGB. -MSFILTER_DLLPUBLIC sal_uInt32 BGRToRGB(sal_uInt32 nColour); +MSFILTER_DLLPUBLIC ::Color BGRToRGB(sal_uInt32 nColour); /** Convert from DTTM to Writer's DateTime */ |