Kaydet (Commit) 7480094c authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz: disable more config related code

Change-Id: I2458000c5d46a371cec0a17fb0bfd86a2444dc42
Reviewed-on: https://gerrit.libreoffice.org/42472Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 7e8c38b6
...@@ -116,13 +116,13 @@ void ScDocShell::InitItems() ...@@ -116,13 +116,13 @@ void ScDocShell::InitItems()
PutItem( SvxColorListItem( XColorList::GetStdColorList(), SID_COLOR_TABLE ) ); PutItem( SvxColorListItem( XColorList::GetStdColorList(), SID_COLOR_TABLE ) );
} }
if ( !aDocument.GetForbiddenCharacters() || if (!utl::ConfigManager::IsAvoidConfig() &&
!aDocument.IsValidAsianCompression() || !aDocument.IsValidAsianKerning() ) (!aDocument.GetForbiddenCharacters() || !aDocument.IsValidAsianCompression() || !aDocument.IsValidAsianKerning()))
{ {
// get settings from SvxAsianConfig // get settings from SvxAsianConfig
SvxAsianConfig aAsian; SvxAsianConfig aAsian;
if (!aDocument.GetForbiddenCharacters() && !utl::ConfigManager::IsAvoidConfig()) if (!aDocument.GetForbiddenCharacters())
{ {
// set forbidden characters if necessary // set forbidden characters if necessary
uno::Sequence<lang::Locale> aLocales = aAsian.GetStartEndCharLocales(); uno::Sequence<lang::Locale> aLocales = aAsian.GetStartEndCharLocales();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment