diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-08-28 05:55:42 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-08-28 05:55:42 +0000 |
commit | 857c9253d032bfa896bd6b29381b8c078ae5f232 (patch) | |
tree | 9415535d878b4d4beecc61e00b9eaf4a67084d74 /svx/source/sdr | |
parent | e1a3088d119852bd6fdc725092c8159698bc0237 (diff) |
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.
Diffstat (limited to 'svx/source/sdr')
-rw-r--r-- | svx/source/sdr/overlay/overlaymanager.cxx | 14 |
1 files changed, 13 insertions, 1 deletions
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<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 |