INTEGRATION: CWS impress153_DEV300 (1.6.208); FILE MERGED

2008/08/20 09:09:02 af 1.6.208.1: #i92801# Added new GetOverlayObjects() method.
This commit is contained in:
Rüdiger Timm 2008-08-28 05:55:42 +00:00
parent e1a3088d11
commit 857c9253d0

View file

@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: overlaymanager.cxx,v $
* $Revision: 1.7 $
* $Revision: 1.8 $
*
* This file is part of OpenOffice.org.
*
@ -314,6 +314,18 @@ namespace sdr
ImpStripeDefinitionChanged();
}
}
::boost::shared_ptr<OverlayObjectVector> OverlayManager::GetOverlayObjects (void) const
{
::boost::shared_ptr<OverlayObjectVector> pObjectList (new OverlayObjectVector());
sdr::overlay::OverlayObject* pObject = mpOverlayObjectStart;
while (pObject != NULL)
{
pObjectList->push_back(pObject);
pObject = pObject->mpNext;
}
return pObjectList;
}
} // end of namespace overlay
} // end of namespace sdr