diff options
Diffstat (limited to 'basebmp/inc/basebmp/color.hxx')
-rw-r--r-- | basebmp/inc/basebmp/color.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basebmp/inc/basebmp/color.hxx b/basebmp/inc/basebmp/color.hxx index 1bd70198a280..df5516127a36 100644 --- a/basebmp/inc/basebmp/color.hxx +++ b/basebmp/inc/basebmp/color.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 @@ -38,7 +38,7 @@ namespace basebmp class Color { private: - sal_uInt32 mnColor; + sal_uInt32 mnColor; public: typedef sal_uInt32 value_type; @@ -55,7 +55,7 @@ public: void setBlue( sal_uInt8 nBlue ) { mnColor &= ~0x000000FFUL; mnColor |= nBlue; } void setGrey( sal_uInt8 nGreyVal ) { mnColor = (sal_uInt32)nGreyVal << 16 | (sal_uInt32)nGreyVal << 8 | nGreyVal; } - + sal_uInt8 getRed() const { return 0xFF & (sal_uInt8)(mnColor >> 16); } sal_uInt8 getGreen() const { return 0xFF & (sal_uInt8)(mnColor >> 8); } sal_uInt8 getBlue() const { return 0xFF & (sal_uInt8)mnColor; } |