summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews1.cxx
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-06-25 11:01:52 +0100
committerNoel Power <noel.power@suse.com>2013-06-25 11:01:52 +0100
commit90ffe25cdda7f7922ea7def4a5bf99ff1671b0d3 (patch)
treeb370fe9b7af71abc357b540e5878b2bd17d16f35 /sd/source/ui/view/drviews1.cxx
parent69dcacedaccd1d698a54eed615ee8739747bc975 (diff)
remove unwanted files added with ee51444ed1f7003dafc93c8181b5f8c1b0fd165b
<sigh> added some files that were part of a patch that I was testing were not intended as part of commit Change-Id: I34ed7f55de28fa09739c0dd8d5084824de676477
Diffstat (limited to 'sd/source/ui/view/drviews1.cxx')
-rw-r--r--sd/source/ui/view/drviews1.cxx7
1 files changed, 3 insertions, 4 deletions
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,