From f141ea7d74eaef051a40ab366c2bd287d234539b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 6 Dec 2011 20:28:26 +0100 Subject: Use configmgr directly in SvxAsianConfig. --- cui/source/options/optasian.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cui/source/options/optasian.cxx') diff --git a/cui/source/options/optasian.cxx b/cui/source/options/optasian.cxx index d345cf8a7a88..5cafe5de0848 100644 --- a/cui/source/options/optasian.cxx +++ b/cui/source/options/optasian.cxx @@ -77,8 +77,7 @@ public: struct SvxAsianLayoutPage_Impl { SvxAsianConfig aConfig; - SvxAsianLayoutPage_Impl() : - aConfig(sal_False){} + SvxAsianLayoutPage_Impl() {} Reference< XForbiddenCharacters > xForbidden; Reference< XPropertySet > xPrSet; @@ -205,8 +204,7 @@ sal_Bool SvxAsianLayoutPage::FillItemSet( SfxItemSet& ) pImpl->xPrSet->setPropertyValue(sCompress, aVal); } } - if(pImpl->aConfig.IsModified()) - pImpl->aConfig.Commit(); + pImpl->aConfig.Commit(); if(pImpl->xForbidden.is()) { try -- cgit