From 90ffe25cdda7f7922ea7def4a5bf99ff1671b0d3 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Tue, 25 Jun 2013 11:01:52 +0100 Subject: remove unwanted files added with ee51444ed1f7003dafc93c8181b5f8c1b0fd165b added some files that were part of a patch that I was testing were not intended as part of commit Change-Id: I34ed7f55de28fa09739c0dd8d5084824de676477 --- sd/source/ui/view/drviews1.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sd/source/ui/view/drviews1.cxx') diff --git a/sd/source/ui/view/drviews1.cxx b/sd/source/ui/view/drviews1.cxx index 8ad0ce36ce80..fe0f1dd598d8 100644 --- a/sd/source/ui/view/drviews1.cxx +++ b/sd/source/ui/view/drviews1.cxx @@ -1059,12 +1059,11 @@ sal_Bool DrawViewShell::SwitchPage(sal_uInt16 nSelectedPage) { // set pages for all available handout presentation objects sd::ShapeList& rShapeList = pMaster->GetPresentationShapeList(); + SdrObject* pObj = 0; + rShapeList.seekShape(0); - for( ShapeList::const_iterator aIter( rShapeList.cbegin() ); - aIter != rShapeList.cend(); ++aIter ) + while( (pObj = rShapeList.getNextShape()) ) { - SdrObject* pObj = *aIter; - if( pMaster->GetPresObjKind(pObj) == PRESOBJ_HANDOUT ) { // #i105146# We want no content to be displayed for PK_HANDOUT, -- cgit