diff --git a/svx/source/sdr/overlay/overlaymanager.cxx b/svx/source/sdr/overlay/overlaymanager.cxx index 125131c18572..659e94660569 100644 --- a/svx/source/sdr/overlay/overlaymanager.cxx +++ b/svx/source/sdr/overlay/overlaymanager.cxx @@ -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 OverlayManager::GetOverlayObjects (void) const + { + ::boost::shared_ptr 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