From 857c9253d032bfa896bd6b29381b8c078ae5f232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Timm?= Date: Thu, 28 Aug 2008 05:55:42 +0000 Subject: [PATCH] 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. --- svx/source/sdr/overlay/overlaymanager.cxx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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