summaryrefslogtreecommitdiff
path: root/include/vcl/salbtype.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/salbtype.hxx')
-rw-r--r--include/vcl/salbtype.hxx12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/vcl/salbtype.hxx b/include/vcl/salbtype.hxx
index 85a00a197f96..3fc153dc0f2f 100644
--- a/include/vcl/salbtype.hxx
+++ b/include/vcl/salbtype.hxx
@@ -117,7 +117,8 @@ public:
inline BitmapColor( const BitmapColor& rBitmapColor );
inline BitmapColor( sal_uInt8 cRed, sal_uInt8 cGreen, sal_uInt8 cBlue );
inline BitmapColor( const Color& rColor );
- inline BitmapColor( sal_uInt8 cIndex );
+ explicit inline BitmapColor( sal_uInt8 cIndex );
+
inline ~BitmapColor() {};
inline sal_Bool operator==( const BitmapColor& rBitmapColor ) const;
@@ -139,7 +140,6 @@ public:
inline void SetIndex( sal_uInt8 cIndex );
operator Color() const;
- inline operator sal_uInt8() const;
inline sal_uInt8 GetBlueOrIndex() const;
@@ -428,14 +428,6 @@ inline BitmapColor::operator Color() const
// ------------------------------------------------------------------
-inline BitmapColor::operator sal_uInt8() const
-{
- DBG_ASSERT( mbIndex, "Pixel represents color values!" );
- return mcBlueOrIndex;
-}
-
-// ------------------------------------------------------------------
-
inline sal_uInt8 BitmapColor::GetBlueOrIndex() const
{
// #i47518# Yield a value regardless of mbIndex