summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-02-23 00:19:03 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-02-23 01:59:41 +0100
commit5071777ad3e4e86704b946d70381ade3900ed1fb (patch)
tree26683419f2769331b075c98a6946d88bc253dd33 /chart2
parent391220ef21d7d99a968437893ee1e783cdcdaf59 (diff)
disable this performance improvement
Somehow there is a bug. Might be an internal OPropertySet problem as I can't find it in my new code. Change-Id: I6658fa82f4158ef114baf80b8d9ed9ec44793d35
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/PropertyMapper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/view/main/PropertyMapper.cxx b/chart2/source/view/main/PropertyMapper.cxx
index edd74c178453..05e874b48fcc 100644
--- a/chart2/source/view/main/PropertyMapper.cxx
+++ b/chart2/source/view/main/PropertyMapper.cxx
@@ -81,14 +81,14 @@ void PropertyMapper::getValueMap(
tPropertyNameMap::const_iterator aEnd( rNameMap.end() );
uno::Reference< beans::XMultiPropertySet > xMultiPropSet(xSourceProp, uno::UNO_QUERY);
- if(xMultiPropSet.is())
+ if(false && xMultiPropSet.is())
{
uno::Sequence< rtl::OUString > aPropSourceNames(rNameMap.size());
uno::Sequence< rtl::OUString > aPropTargetNames(rNameMap.size());
for(sal_Int32 i = 0; aIt != aEnd; ++aIt, ++i)
{
- aPropSourceNames[i] = aIt->first;
- aPropTargetNames[i] = aIt->second;
+ aPropTargetNames[i] = aIt->first;
+ aPropSourceNames[i] = aIt->second;
}
uno::Sequence< uno::Any > xValues = xMultiPropSet->getPropertyValues(aPropSourceNames);