summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/slide/slideimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/slide/slideimpl.cxx')
-rw-r--r--slideshow/source/engine/slide/slideimpl.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/slideshow/source/engine/slide/slideimpl.cxx b/slideshow/source/engine/slide/slideimpl.cxx
index 5549e5ebd213..7e76377a4c97 100644
--- a/slideshow/source/engine/slide/slideimpl.cxx
+++ b/slideshow/source/engine/slide/slideimpl.cxx
@@ -187,7 +187,7 @@ private:
void startIntrinsicAnimations();
/// Add Polygons to the member maPolygons
- void addPolygons(PolyPolygonVector aPolygons);
+ void addPolygons(const PolyPolygonVector& rPolygons);
// Types
// =====
@@ -874,12 +874,12 @@ void SlideImpl::drawPolygons() const
mpPaintOverlay->drawPolygons();
}
-void SlideImpl::addPolygons(PolyPolygonVector aPolygons)
+void SlideImpl::addPolygons(const PolyPolygonVector& rPolygons)
{
- if(!aPolygons.empty())
+ if(!rPolygons.empty())
{
- for( PolyPolygonVector::iterator aIter=aPolygons.begin(),
- aEnd=aPolygons.end();
+ for( PolyPolygonVector::const_iterator aIter = rPolygons.begin(),
+ aEnd = rPolygons.end();
aIter!=aEnd;
++aIter )
{