summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/doc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/doc.cxx')
-rw-r--r--sw/source/core/doc/doc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx
index 1ec553dd4650..c8e6c90f3413 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -412,8 +412,8 @@ const i18n::ForbiddenCharacters*
const i18n::ForbiddenCharacters* pRet = 0;
if( mxForbiddenCharsTable.is() )
pRet = mxForbiddenCharsTable->GetForbiddenCharacters( nLang, sal_False );
- if( bLocaleData && !pRet && pBreakIt )
- pRet = &pBreakIt->GetForbidden( (LanguageType)nLang );
+ if( bLocaleData && !pRet && g_pBreakIt )
+ pRet = &g_pBreakIt->GetForbidden( (LanguageType)nLang );
return pRet;
}