summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-12-06 20:28:26 +0100
committerStephan Bergmann <sbergman@redhat.com>2011-12-06 20:28:57 +0100
commitf141ea7d74eaef051a40ab366c2bd287d234539b (patch)
treeb195de3f5c24c005d95ee6206a09286c4d1a42b4 /cui/source
parent2a9c1d1a75b7d4e79dfbc6be3dada1a1e959e58e (diff)
Use configmgr directly in SvxAsianConfig.
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/options/optasian.cxx6
1 files changed, 2 insertions, 4 deletions
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