summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-03-06 09:21:54 +0000
committerRüdiger Timm <rt@openoffice.org>2006-03-06 09:21:54 +0000
commit913e19586fed32b46dbeba43b3a3af5b00c70c7f (patch)
treed56c496ec017c4bd281d26ed3436d56860404be4 /desktop
parenteb294a67cc462e3c5192595b8bdb3349e460e09b (diff)
INTEGRATION: CWS dbo510 (1.8.40); FILE MERGED
2006/02/15 10:40:36 dbo 1.8.40.1: #i59034# using containerToSequence()
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/registry/dp_registry.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/deployment/registry/dp_registry.cxx b/desktop/source/deployment/registry/dp_registry.cxx
index 4b2a7dceec47..c8e229cd175a 100644
--- a/desktop/source/deployment/registry/dp_registry.cxx
+++ b/desktop/source/deployment/registry/dp_registry.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: dp_registry.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 17:26:28 $
+ * last change: $Author: rt $ $Date: 2006-03-06 10:21:54 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -43,6 +43,7 @@
#include "rtl/uri.hxx"
#include "cppuhelper/compbase2.hxx"
#include "cppuhelper/exc_hlp.hxx"
+#include "comphelper/sequence.hxx"
#include "ucbhelper/content.hxx"
#include "com/sun/star/uno/DeploymentException.hpp"
#include "com/sun/star/lang/DisposedException.hpp"
@@ -516,8 +517,7 @@ Reference<deployment::XPackage> PackageRegistryImpl::bindPackage(
Sequence< Reference<deployment::XPackageTypeInfo> >
PackageRegistryImpl::getSupportedPackageTypes() throw (RuntimeException)
{
- return Sequence< Reference<deployment::XPackageTypeInfo> >(
- &m_typesInfos[ 0 ], m_typesInfos.size() );
+ return comphelper::containerToSequence(m_typesInfos);
}
} // anon namespace