[Libreoffice-commits] .: slideshow/source
Caolán McNamara
caolan at kemper.freedesktop.org
Mon Dec 20 02:57:54 PST 2010
slideshow/source/engine/color.cxx | 13 -------------
slideshow/source/inc/rgbcolor.hxx | 3 ---
2 files changed, 16 deletions(-)
New commits:
commit 07101b71a84a5f99242e2ae7921cb71ed652ac6a
Author: Thorsten Behrens <tbehrens at novell.com>
Date: Mon Dec 20 10:57:43 2010 +0000
Remove extraneous copy ctor and assignment op
diff --git a/slideshow/source/engine/color.cxx b/slideshow/source/engine/color.cxx
index 341a54a..35f3b4e 100644
--- a/slideshow/source/engine/color.cxx
+++ b/slideshow/source/engine/color.cxx
@@ -228,19 +228,6 @@ namespace slideshow
return maHSLTriple.mnLuminance;
}
- RGBColor::RGBColor(const RGBColor& rLHS)
- : maRGBTriple( rLHS.maRGBTriple )
- {
- }
-
- RGBColor& RGBColor::operator=( const RGBColor& rLHS ){
-
- maRGBTriple.mnRed = rLHS.getRed();
- maRGBTriple.mnGreen = rLHS.getGreen();
- maRGBTriple.mnBlue = rLHS.getBlue();
- return *this;
- }
-
HSLColor operator+( const HSLColor& rLHS, const HSLColor& rRHS )
{
return HSLColor( rLHS.getHue() + rRHS.getHue(),
diff --git a/slideshow/source/inc/rgbcolor.hxx b/slideshow/source/inc/rgbcolor.hxx
index 4290042..b306151 100644
--- a/slideshow/source/inc/rgbcolor.hxx
+++ b/slideshow/source/inc/rgbcolor.hxx
@@ -66,9 +66,6 @@ namespace slideshow
*/
::cppcanvas::Color::IntSRGBA getIntegerColor() const;
- RGBColor(const RGBColor& rLHS);
- RGBColor& operator=( const RGBColor& rLHS);
-
struct RGBTriple
{
RGBTriple();
More information about the Libreoffice-commits
mailing list