summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/PropertyMapper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/view/main/PropertyMapper.cxx b/chart2/source/view/main/PropertyMapper.cxx
index c7327974249a..d9ae1fc7a925 100644
--- a/chart2/source/view/main/PropertyMapper.cxx
+++ b/chart2/source/view/main/PropertyMapper.cxx
@@ -101,13 +101,13 @@ void PropertyMapper::getValueMap(
{
for (auto const& elem : rNameMap)
{
- OUString aTarget = elem.first;
- OUString aSource = elem.second;
+ const OUString & rTarget = elem.first;
+ const OUString & rSource = elem.second;
try
{
- uno::Any aAny( xSourceProp->getPropertyValue(aSource) );
+ uno::Any aAny( xSourceProp->getPropertyValue(rSource) );
if( aAny.hasValue() )
- rValueMap.emplace( aTarget, aAny );
+ rValueMap.emplace( rTarget, aAny );
}
catch( const uno::Exception& )
{