From 4c9f8fcddeec7f993dc91377d0c9eff4db73acac Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Fri, 13 Jul 2001 09:20:05 +0000 Subject: #89253# locale data pointer must follow switched locale in convert mode --- svtools/source/numbers/zforscan.cxx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'svtools') diff --git a/svtools/source/numbers/zforscan.cxx b/svtools/source/numbers/zforscan.cxx index f0085ac48afc..506ea4395ecb 100644 --- a/svtools/source/numbers/zforscan.cxx +++ b/svtools/source/numbers/zforscan.cxx @@ -2,9 +2,9 @@ * * $RCSfile: zforscan.cxx,v $ * - * $Revision: 1.24 $ + * $Revision: 1.25 $ * - * last change: $Author: er $ $Date: 2001-07-04 17:33:02 $ + * last change: $Author: er $ $Date: 2001-07-13 10:20:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1334,7 +1334,6 @@ int ImpSvNumberformatScan::FinalScanGetCalendar( xub_StrLen& nPos, USHORT& i, xub_StrLen ImpSvNumberformatScan::FinalScan( String& rString, String& rComment ) { const LocaleDataWrapper* pLoc = pFormatter->GetLocaleData(); - const CharClass* pChrCls = pFormatter->GetCharClass(); // save values for convert mode String sOldDecSep = pLoc->getNumDecimalSep(); @@ -1353,7 +1352,12 @@ xub_StrLen ImpSvNumberformatScan::FinalScan( String& rString, String& rComment ) // change locale data et al if (bConvertMode) + { pFormatter->ChangeIntl(eNewLnge); + //! pointer may have changed + pLoc = pFormatter->GetLocaleData(); + } + const CharClass* pChrCls = pFormatter->GetCharClass(); xub_StrLen nPos = 0; // Korrekturposition USHORT i = 0; // durchlaeuft die Symbole -- cgit ion> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/external/hsqldb
AgeCommit message (Expand)Author
2017-08-30Pass "verbose" flag into antStephan Bergmann
2016-08-26Remove gcj support from build system.Thorsten Behrens
2016-03-02Update to match realityTor Lillqvist