[ooo-build-commit] .: Branch 'ooo-build-3-2' - patches/dev300

Kohei Yoshida kohei at kemper.freedesktop.org
Tue Feb 23 04:59:22 PST 2010


 patches/dev300/svtools-uninitialized-member-fix.diff |   21 ++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

New commits:
commit 7329c58a8d07f64cea150d703b4b0b99a60d6e55
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Tue Feb 23 07:57:36 2010 -0500

    Fixed failed date detection that forced input date to 0.
    
    * patches/dev300/svtools-uninitialized-member-fix.diff: the old format
      type was incorrectly reset which caused input date to become '0' in
      the Hungarian locale if the number format was pre-set. (n#581634)

diff --git a/patches/dev300/svtools-uninitialized-member-fix.diff b/patches/dev300/svtools-uninitialized-member-fix.diff
index 2af7878..e538739 100644
--- a/patches/dev300/svtools-uninitialized-member-fix.diff
+++ b/patches/dev300/svtools-uninitialized-member-fix.diff
@@ -1,12 +1,15 @@
 diff --git svtools/source/numbers/zforfind.cxx svtools/source/numbers/zforfind.cxx
-index 9fba39e..872ada2 100644
+index 9fba39e..fbf1dc1 100644
 --- svtools/source/numbers/zforfind.cxx
 +++ svtools/source/numbers/zforfind.cxx
-@@ -138,6 +138,7 @@ void ImpSvNumberInputScan::Reset()
-     nAnzNums     = 0;
-     nThousand    = 0;
-     eScannedType = NUMBERFORMAT_UNDEFINED;
-+    eSetType     = NUMBERFORMAT_UNDEFINED;
-     nAmPm        = 0;
-     nPosThousandString = 0;
-     nLogical     = 0;
+@@ -87,7 +87,9 @@ ImpSvNumberInputScan::ImpSvNumberInputScan( SvNumberFormatter* pFormatterP )
+         pUpperMonthText( NULL ),
+         pUpperAbbrevMonthText( NULL ),
+         pUpperDayText( NULL ),
+-        pUpperAbbrevDayText( NULL )
++        pUpperAbbrevDayText( NULL ),
++        eScannedType( NUMBERFORMAT_UNDEFINED ),
++        eSetType( NUMBERFORMAT_UNDEFINED )
+ {
+     pFormatter = pFormatterP;
+     pNullDate = new Date(30,12,1899);


More information about the ooo-build-commit mailing list