diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-29 10:11:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-29 10:11:53 +0200 |
commit | b55166d266f31caf7bd85e54a59c7e8b49204b16 (patch) | |
tree | f4d98e90c214a6e588e2b4e22c05b9c0f44309aa /desktop | |
parent | 39fd37f39db37a83c4a1491d68518e721b04fc5f (diff) |
Revert "return and use std::vector from OInterfaceContainerHelper"
This reverts commit e57314f61f67b093510c5a8a8f34a62126ba8734.
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/registry/dp_backend.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/deployment/registry/dp_backend.cxx b/desktop/source/deployment/registry/dp_backend.cxx index 6963e8679f07..720e8abf005c 100644 --- a/desktop/source/deployment/registry/dp_backend.cxx +++ b/desktop/source/deployment/registry/dp_backend.cxx @@ -596,10 +596,10 @@ void Package::fireModified() ::cppu::OInterfaceContainerHelper * container = rBHelper.getContainer( cppu::UnoType<util::XModifyListener>::get() ); if (container != 0) { - std::vector< Reference<XInterface> > elements( - container->getElementsAsVector() ); + Sequence< Reference<XInterface> > elements( + container->getElements() ); lang::EventObject evt( static_cast<OWeakObject *>(this) ); - for ( sal_Int32 pos = 0; pos < (sal_Int32)elements.size(); ++pos ) + for ( sal_Int32 pos = 0; pos < elements.getLength(); ++pos ) { Reference<util::XModifyListener> xListener( elements[ pos ], UNO_QUERY ); |