diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-05-07 09:32:48 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-05-07 09:32:48 +0200 |
commit | c450ea69921001621a1114369b3508bfa69bd088 (patch) | |
tree | 4989f9274bb926816546e2b0b2c5f20566c7ebd4 /filter/inc | |
parent | 71bf95db0bf87424678ce62d526e14848cdafec7 (diff) |
introduce msfilter::util::BGRToRGB to avoid copy&paste
Change-Id: Ic3fa8865bf3862407867b5e4a438e3d9bc723e86
Diffstat (limited to 'filter/inc')
-rw-r--r-- | filter/inc/filter/msfilter/util.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
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); } } |