diff options
Diffstat (limited to 'basebmp/inc/basebmp/rgb24pixelformats.hxx')
-rw-r--r-- | basebmp/inc/basebmp/rgb24pixelformats.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/basebmp/inc/basebmp/rgb24pixelformats.hxx b/basebmp/inc/basebmp/rgb24pixelformats.hxx index 91d374efd7e9..28b7a374e624 100644 --- a/basebmp/inc/basebmp/rgb24pixelformats.hxx +++ b/basebmp/inc/basebmp/rgb24pixelformats.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -41,17 +41,17 @@ namespace basebmp { -template< typename PixelType, typename ColorType > struct RGBValueGetter : - public std::unary_function<PixelType, ColorType> +template< typename PixelType, typename ColorType > struct RGBValueGetter : + public std::unary_function<PixelType, ColorType> { ColorType operator()( PixelType const& c ) const - { - return ColorType(c.red(),c.green(),c.blue()); + { + return ColorType(c.red(),c.green(),c.blue()); } }; -template< typename PixelType, typename ColorType > struct RGBValueSetter : - public std::unary_function<ColorType, PixelType> +template< typename PixelType, typename ColorType > struct RGBValueSetter : + public std::unary_function<ColorType, PixelType> { PixelType operator()( ColorType const& c ) const { |