diff --git a/vcl/inc/impoct.hxx b/vcl/inc/impoct.hxx index 81431c0b2336..860a898b593a 100644 --- a/vcl/inc/impoct.hxx +++ b/vcl/inc/impoct.hxx @@ -28,17 +28,25 @@ class ImpErrorQuad { - long nRed; - long nGreen; - long nBlue; + long nRed; + long nGreen; + long nBlue; public: - inline ImpErrorQuad() {} - inline ImpErrorQuad( const BitmapColor& rColor ) : - nRed ( (long) rColor.GetRed() << 5L ), - nGreen ( (long) rColor.GetGreen() << 5L ), - nBlue ( (long) rColor.GetBlue() << 5L ) {} + ImpErrorQuad() + : nRed(0) + , nGreen(0) + , nBlue(0) + { + } + + ImpErrorQuad( const BitmapColor& rColor ) + : nRed( (long) rColor.GetRed() << 5L ) + , nGreen( (long) rColor.GetGreen() << 5L ) + , nBlue( (long) rColor.GetBlue() << 5L ) + { + } inline void operator=( const BitmapColor& rColor ); inline ImpErrorQuad& operator-=( const BitmapColor& rColor );