diff options
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 ed37f51f38a1..2b0b33e2847b 100644 --- a/cui/source/options/optasian.cxx +++ b/cui/source/options/optasian.cxx @@ -201,9 +201,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(); |