From 5071777ad3e4e86704b946d70381ade3900ed1fb Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sun, 23 Feb 2014 00:19:03 +0100 Subject: 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 --- chart2/source/view/main/PropertyMapper.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chart2/source') 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); -- cgit