diff options
Diffstat (limited to 'vcl/inc/quartz/salgdicommon.hxx')
-rw-r--r-- | vcl/inc/quartz/salgdicommon.hxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/vcl/inc/quartz/salgdicommon.hxx b/vcl/inc/quartz/salgdicommon.hxx index c73e07516cf0..d199b3cc95ba 100644 --- a/vcl/inc/quartz/salgdicommon.hxx +++ b/vcl/inc/quartz/salgdicommon.hxx @@ -38,7 +38,6 @@ class RGBAColor { public: RGBAColor( ::Color ); - RGBAColor( SalColor ); RGBAColor( float fRed, float fGreen, float fBlue, float fAlpha ); //NOTUSEDYET const CGFloat* AsArray() const { return m_fRGBA; } bool IsVisible() const { return m_fRGBA[3] > 0; } @@ -52,14 +51,6 @@ private: CGFloat m_fRGBA[4]; // red, green, blue, alpha }; -inline RGBAColor::RGBAColor( SalColor nSalColor ) -{ - m_fRGBA[0] = SALCOLOR_RED(nSalColor) * (1.0/255); - m_fRGBA[1] = SALCOLOR_GREEN(nSalColor) * (1.0/255); - m_fRGBA[2] = SALCOLOR_BLUE(nSalColor) * (1.0/255); - m_fRGBA[3] = 1.0; // opaque -} - inline RGBAColor::RGBAColor( ::Color nColor ) { m_fRGBA[0] = nColor.GetRed() * (1.0/255); |