diff options
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/app/app.cxx | 2 | ||||
-rw-r--r-- | desktop/source/offacc/acceptor.cxx | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 4d98e11882f2..4fb9d3b7d7b6 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -1512,7 +1512,7 @@ void Desktop::Main() SvtFontSubstConfig().Apply(); SvtTabAppearanceCfg aAppearanceCfg; - //aAppearanceCfg.SetInitialized(); + aAppearanceCfg.SetInitialized(); aAppearanceCfg.SetApplicationDefaults( this ); SvtAccessibilityOptions aOptions; aOptions.SetVCLSettings(); diff --git a/desktop/source/offacc/acceptor.cxx b/desktop/source/offacc/acceptor.cxx index 7b888524fcb0..39620534bcdf 100644 --- a/desktop/source/offacc/acceptor.cxx +++ b/desktop/source/offacc/acceptor.cxx @@ -188,15 +188,14 @@ void SAL_CALL Acceptor::initialize( const Sequence<Any>& aArguments ) // do we want to enable accepting? sal_Bool bEnable = sal_False; - if ((nArgs == 1 && (aArguments[0] >>= bEnable) ) - || (nArgs == 2 && (aArguments[1] >>= bEnable)) - && bEnable ) + if (((nArgs == 1 && (aArguments[0] >>= bEnable)) || + (nArgs == 2 && (aArguments[1] >>= bEnable))) && + bEnable ) { m_cEnable.set(); bOk = sal_True; } - if (!bOk) { throw IllegalArgumentException( |