diff options
Diffstat (limited to 'comphelper/source/property/propertysetinfo.cxx')
-rw-r--r-- | comphelper/source/property/propertysetinfo.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/comphelper/source/property/propertysetinfo.cxx b/comphelper/source/property/propertysetinfo.cxx index 6385965c0d56..206129c5f595 100644 --- a/comphelper/source/property/propertysetinfo.cxx +++ b/comphelper/source/property/propertysetinfo.cxx @@ -47,26 +47,6 @@ PropertySetInfo::PropertySetInfo( o3tl::span<const PropertyMapEntry> pMap ) noex } } -PropertySetInfo::PropertySetInfo(uno::Sequence<beans::Property> const& rProps) noexcept -{ - PropertyMapEntry * pEntries(new PropertyMapEntry[rProps.getLength()]); - PropertyMapEntry * pEntry(&pEntries[0]); - for (auto const& it : rProps) - { - // check for duplicates - assert(maPropertyMap.find(it.Name) == maPropertyMap.end()); - - pEntry->maName = it.Name; - pEntry->mnHandle = it.Handle; - pEntry->maType = it.Type; - pEntry->mnAttributes = it.Attributes; - pEntry->mnMemberId = 0; - - maPropertyMap.emplace(it.Name, pEntry); - ++pEntry; - } -} - PropertySetInfo::~PropertySetInfo() noexcept { } |