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:
parent
e1a3088d11
commit
857c9253d0
1 changed files with 13 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue