summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-09-19 12:58:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-09-19 14:00:47 +0200
commit2e9eff7380484f3317bf03464b564ae80adfb7d3 (patch)
tree29c345a6d9e0adc0471aea446c5ba413c7fe509b
parentofz: survive missing config (diff)
downloadcore-2e9eff7380484f3317bf03464b564ae80adfb7d3.tar.gz
core-2e9eff7380484f3317bf03464b564ae80adfb7d3.zip
ofz: survive missing config
Change-Id: Ie09544ffefcd1789aef7a7f6193aaaddd3ad1896 Reviewed-on: https://gerrit.libreoffice.org/42467 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sc/source/ui/docshell/docsh2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh2.cxx b/sc/source/ui/docshell/docsh2.cxx
index ad5c3c8727cb..c8ea4ff7a9ff 100644
--- a/sc/source/ui/docshell/docsh2.cxx
+++ b/sc/source/ui/docshell/docsh2.cxx
@@ -122,7 +122,7 @@ void ScDocShell::InitItems()
// get settings from SvxAsianConfig
SvxAsianConfig aAsian;
- if (!aDocument.GetForbiddenCharacters())
+ if (!aDocument.GetForbiddenCharacters() && !utl::ConfigManager::IsAvoidConfig())
{
// set forbidden characters if necessary
uno::Sequence<lang::Locale> aLocales = aAsian.GetStartEndCharLocales();