summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-08-20 08:55:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-08-20 11:01:13 +0100
commit248e6c2f22a780cbdb35d5be4dc3d32d71b878ef (patch)
tree3c026ab06d99d087220b64c3aaa336a5e31869b8 /editeng
parent721f5b054e013cc2867051bef75d6488fdb583a8 (diff)
more no-config shortcuts
Change-Id: Ieb3ae2d0e99e77b23e6826efdf51de56f3543865
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit3.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index f774aa87a33a..9bacfcc9dfa7 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -55,6 +55,7 @@
#include <editeng/forbiddencharacterstable.hxx>
+#include <unotools/configmgr.hxx>
#include <unotools/localedatawrapper.hxx>
#include <editeng/unolingu.hxx>
@@ -4264,6 +4265,9 @@ const SvxLRSpaceItem& ImpEditEngine::GetLRSpaceItem( ContentNode* pNode )
// text numeral setting:
LanguageType ImpEditEngine::ImplCalcDigitLang(LanguageType eCurLang) const
{
+ if (utl::ConfigManager::IsAvoidConfig())
+ return LANGUAGE_ENGLISH_US;
+
// #114278# Also setting up digit language from Svt options
// (cannot reliably inherit the outdev's setting)
if( !pCTLOptions )