summaryrefslogtreecommitdiff
path: root/slideshow/source
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@novell.com>2010-12-20 10:57:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-20 10:57:43 +0000
commitbd9fb52d611c146112c1760e65505cf526d63f26 (patch)
treea06d47a13d77a4347b4d6fd5f994ff991758cd67 /slideshow/source
parentffa96fcb3adc77cfed9e82ee9250aeabb03dafbf (diff)
Remove extraneous copy ctor and assignment op
Diffstat (limited to 'slideshow/source')
-rw-r--r--slideshow/source/engine/color.cxx13
-rw-r--r--slideshow/source/inc/rgbcolor.hxx3
2 files changed, 0 insertions, 16 deletions
diff --git a/slideshow/source/engine/color.cxx b/slideshow/source/engine/color.cxx
index a010ecca2e2b..dfa8b1409706 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 2247123c23cd..fc161f78a87c 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();