From c450ea69921001621a1114369b3508bfa69bd088 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 7 May 2012 09:32:48 +0200 Subject: introduce msfilter::util::BGRToRGB to avoid copy&paste Change-Id: Ic3fa8865bf3862407867b5e4a438e3d9bc723e86 --- filter/inc/filter/msfilter/util.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'filter/inc') diff --git a/filter/inc/filter/msfilter/util.hxx b/filter/inc/filter/msfilter/util.hxx index 01ff3738b64a..2dc5fa7f3966 100644 --- a/filter/inc/filter/msfilter/util.hxx +++ b/filter/inc/filter/msfilter/util.hxx @@ -41,6 +41,8 @@ namespace util { /// what the encoding is, but you know or can guess the language MSFILTER_DLLPUBLIC rtl_TextEncoding getBestTextEncodingFromLocale(const ::com::sun::star::lang::Locale &rLocale); +/// Convert a color in BGR format to RGB. +MSFILTER_DLLPUBLIC sal_uInt32 BGRToRGB(sal_uInt32 nColour); } } -- cgit