summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/color/bcolortools.cxx11
-rw-r--r--basegfx/test/basegfx2d.cxx13
2 files changed, 0 insertions, 24 deletions
diff --git a/basegfx/source/color/bcolortools.cxx b/basegfx/source/color/bcolortools.cxx
index 7e139ac83263..095ea50aa5f9 100644
--- a/basegfx/source/color/bcolortools.cxx
+++ b/basegfx/source/color/bcolortools.cxx
@@ -189,17 +189,6 @@ namespace basegfx { namespace tools
}
}
- BColor rgb2ciexyz( const BColor& rRGBColor )
- {
- // from Poynton color faq, and SMPTE RP 177-1993, Derivation
- // of Basic Television Color Equations
- const double r=rRGBColor.getRed(), g=rRGBColor.getGreen(), b=rRGBColor.getBlue();
- return BColor(
- 0.412453*r + 0.35758*g + 0.180423*b,
- 0.212671*r + 0.71516*g + 0.072169*b,
- 0.019334*r + 0.119193*g + 0.950227*b);
- }
-
} } // end of namespace basegfx
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basegfx/test/basegfx2d.cxx b/basegfx/test/basegfx2d.cxx
index 502f7844c7f4..b0b27efe14ae 100644
--- a/basegfx/test/basegfx2d.cxx
+++ b/basegfx/test/basegfx2d.cxx
@@ -1211,18 +1211,6 @@ public:
tools::rgb2hsv(BColor(.5,.25,.25)) == BColor(0,.5,.5));
}
- void ciexyzTest()
- {
- tools::rgb2ciexyz(maWhite);
- tools::rgb2ciexyz(maBlack);
- tools::rgb2ciexyz(maRed);
- tools::rgb2ciexyz(maGreen);
- tools::rgb2ciexyz(maBlue);
- tools::rgb2ciexyz(maYellow);
- tools::rgb2ciexyz(maMagenta);
- tools::rgb2ciexyz(maCyan);
- }
-
// Change the following lines only, if you add, remove or rename
// member functions of the current class,
// because these macros are need by auto register mechanism.
@@ -1230,7 +1218,6 @@ public:
CPPUNIT_TEST_SUITE(bcolor);
CPPUNIT_TEST(hslTest);
CPPUNIT_TEST(hsvTest);
- CPPUNIT_TEST(ciexyzTest);
CPPUNIT_TEST_SUITE_END();
}; // class b2dvector