diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-03 08:39:03 +0200 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-07-20 01:26:04 -0400 |
commit | a0e8e05008e143ee5e3bbc281d1c253c7e5ed136 (patch) | |
tree | eaf5f70a067fd48704addd9f2b582624a2fb44ae /cui | |
parent | 9c7cae1561cfe16226b1f16dce59f08a38da3ce0 (diff) |
use Any constructor instead of temporaries
(cherry picked from commit 58a32075ca4f457f570af75aef368dd6c389aca7)
Change-Id: Iffb82a2cee1a28d89eeea2b905aaa14086ee475a
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optasian.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cui/source/options/optasian.cxx b/cui/source/options/optasian.cxx index 5acd04abc3a8..59e28fb8cf35 100644 --- a/cui/source/options/optasian.cxx +++ b/cui/source/options/optasian.cxx @@ -203,9 +203,7 @@ bool SvxAsianLayoutPage::FillItemSet( SfxItemSet* ) OUString sCompress(cCharacterCompressionType); if(pImpl->xPrSetInfo.is() && pImpl->xPrSetInfo->hasPropertyByName(sCompress)) { - Any aVal; - aVal <<= nSet; - pImpl->xPrSet->setPropertyValue(sCompress, aVal); + pImpl->xPrSet->setPropertyValue(sCompress, Any(nSet)); } } pImpl->aConfig.Commit(); |