[Libreoffice-commits] .: sw/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Oct 13 12:37:16 PDT 2010
sw/source/core/bastyp/calc.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a6a98d1a94469eea872b4c780dfb2d7b8b67855d
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Oct 13 20:28:08 2010 +0100
#i114412# fix localedatawrapper crasher
diff --git a/sw/source/core/bastyp/calc.cxx b/sw/source/core/bastyp/calc.cxx
index 4863799..e0c4f69 100644
--- a/sw/source/core/bastyp/calc.cxx
+++ b/sw/source/core/bastyp/calc.cxx
@@ -1651,7 +1651,7 @@ bool SwCalc::Str2Double( const String& rCommand, xub_StrLen& rCommandPos,
if( pDoc )
{
LanguageType eLang = GetDocAppScriptLang( *pDoc );
- if( eLang != SvxLocaleToLanguage( pLclD->getLocale() ) )
+ if( eLang != SvxLocaleToLanguage( aSysLocale.GetLocaleData().getLocale() ) )
{
pLclD.reset( new LocaleDataWrapper(
::comphelper::getProcessServiceFactory(),
More information about the Libreoffice-commits
mailing list