diff options
Diffstat (limited to 'filter/source/svg/gfxtypes.hxx')
-rw-r--r-- | filter/source/svg/gfxtypes.hxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/filter/source/svg/gfxtypes.hxx b/filter/source/svg/gfxtypes.hxx index ff091892ab3e..9f9d38024fb0 100644 --- a/filter/source/svg/gfxtypes.hxx +++ b/filter/source/svg/gfxtypes.hxx @@ -28,24 +28,12 @@ struct ARGBColor {} explicit ARGBColor(double fGrey) : a(1.0), r(fGrey), g(fGrey), b(fGrey) {} - ARGBColor( double r_, double g_, double b_ ) : - a(1.0), r(r_), g(g_), b(b_) - {} - ARGBColor( double a_, double r_, double g_, double b_ ) : - a(a_), r(r_), g(g_), b(b_) - {} ARGBColor( int r_, int g_, int b_ ) : a(1.0), r(toDoubleColor(sal::static_int_cast<sal_uInt8>(r_))), g(toDoubleColor(sal::static_int_cast<sal_uInt8>(g_))), b(toDoubleColor(sal::static_int_cast<sal_uInt8>(b_))) {} - ARGBColor( int a_, int r_, int g_, int b_ ) : - a(toDoubleColor(sal::static_int_cast<sal_uInt8>(a_))), - r(toDoubleColor(sal::static_int_cast<sal_uInt8>(r_))), - g(toDoubleColor(sal::static_int_cast<sal_uInt8>(g_))), - b(toDoubleColor(sal::static_int_cast<sal_uInt8>(b_))) - {} double a; double r; double g; |