From ffa96fcb3adc77cfed9e82ee9250aeabb03dafbf Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 19 Dec 2010 16:44:47 +0000 Subject: prefix prefix variant --- sd/source/ui/view/viewoverlaymanager.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sd/source/ui/view/viewoverlaymanager.cxx b/sd/source/ui/view/viewoverlaymanager.cxx index 7035c49aa557..4c4a3bb03984 100644 --- a/sd/source/ui/view/viewoverlaymanager.cxx +++ b/sd/source/ui/view/viewoverlaymanager.cxx @@ -563,7 +563,7 @@ bool ViewOverlayManager::CreateTags() { const std::list< SdrObject* >& rShapes = pPage->GetPresentationShapeList().getList(); - for( std::list< SdrObject* >::const_iterator iter( rShapes.begin() ); iter != rShapes.end(); iter++ ) + for( std::list< SdrObject* >::const_iterator iter( rShapes.begin() ); iter != rShapes.end(); ++iter ) { if( (*iter)->IsEmptyPresObj() && ((*iter)->GetObjIdentifier() == OBJ_OUTLINETEXT) && (mrBase.GetDrawView()->GetTextEditObject() != (*iter)) ) { -- cgit From bd9fb52d611c146112c1760e65505cf526d63f26 Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Mon, 20 Dec 2010 10:57:43 +0000 Subject: Remove extraneous copy ctor and assignment op --- slideshow/source/engine/color.cxx | 13 ------------- slideshow/source/inc/rgbcolor.hxx | 3 --- 2 files changed, 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(); -- cgit