summaryrefslogtreecommitdiff
path: root/basegfx/source/color/bcolortools.cxx
diff options
context:
space:
mode:
authorElton Chung <elton@layerjet.com>2012-02-25 01:49:02 +0800
committerMichael Meeks <michael.meeks@suse.com>2012-02-25 20:33:57 +0000
commit0333d2101acf36c9f44e5cc51ff6964d8a98920d (patch)
tree8069ae0040dd44a7a6c7d6a1356da6fd470ae1b2 /basegfx/source/color/bcolortools.cxx
parent552a9862f8a11d8e3b86eef710d91a322a3a2946 (diff)
Remove unused code in basegfx, comphelper
Diffstat (limited to 'basegfx/source/color/bcolortools.cxx')
-rw-r--r--basegfx/source/color/bcolortools.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/basegfx/source/color/bcolortools.cxx b/basegfx/source/color/bcolortools.cxx
index f89a47574486..ef504ebacd9f 100644
--- a/basegfx/source/color/bcolortools.cxx
+++ b/basegfx/source/color/bcolortools.cxx
@@ -200,17 +200,6 @@ namespace basegfx { namespace tools
}
}
- BColor ciexyz2rgb( const BColor& rXYZColor )
- {
- // from Poynton color faq, and SMPTE RP 177-1993, Derivation
- // of Basic Television Color Equations
- const double x=rXYZColor.getRed(), y=rXYZColor.getGreen(), z=rXYZColor.getBlue();
- return BColor(
- 3.240479*x - 1.53715*y - 0.498535*z,
- -0.969256*x + 1.875991*y + 0.041556*z,
- 0.055648*x - 0.204043*y + 1.057311*z );
- }
-
BColor rgb2ciexyz( const BColor& rRGBColor )
{
// from Poynton color faq, and SMPTE RP 177-1993, Derivation