diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-03 08:39:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-05-04 12:39:40 +0200 |
commit | 58a32075ca4f457f570af75aef368dd6c389aca7 (patch) | |
tree | e437dcbdeb248b4316cb8a9281d1543419853f6d /xmloff/source/text/XMLPropertyBackpatcher.cxx | |
parent | 7d47700972d267fe7c5270c5dadd45a523a2baec (diff) |
use Any constructor instead of temporaries
Change-Id: Iffb82a2cee1a28d89eeea2b905aaa14086ee475a
Diffstat (limited to 'xmloff/source/text/XMLPropertyBackpatcher.cxx')
-rw-r--r-- | xmloff/source/text/XMLPropertyBackpatcher.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xmloff/source/text/XMLPropertyBackpatcher.cxx b/xmloff/source/text/XMLPropertyBackpatcher.cxx index 5f3bc8c0c062..49f660b572b7 100644 --- a/xmloff/source/text/XMLPropertyBackpatcher.cxx +++ b/xmloff/source/text/XMLPropertyBackpatcher.cxx @@ -117,9 +117,7 @@ void XMLPropertyBackpatcher<A>::SetProperty( if (aIDMap.count(sName)) { // we know this ID -> set property - Any aAny; - aAny <<= aIDMap[sName]; - xPropSet->setPropertyValue(sPropertyName, aAny); + xPropSet->setPropertyValue(sPropertyName, css::uno::Any(aIDMap[sName])); } else { |