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

Kohei Yoshida kohei at kemper.freedesktop.org
Mon Jan 18 21:05:41 PST 2010


 patches/dev300/apply                         |    1 +
 patches/dev300/sc-uninitialized-var-fix.diff |   15 +++++++++++++++
 2 files changed, 16 insertions(+)

New commits:
commit 6e51b5e2a7754defc72db42eb213f76ca356b09e
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Tue Jan 19 00:07:34 2010 -0500

    Squash more uninitialized data member being used.
    
    * patches/dev300/apply:
    * patches/dev300/sc-uninitialized-var-fix.diff:

diff --git a/patches/dev300/apply b/patches/dev300/apply
index 31329a6..3646db1 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -852,6 +852,7 @@ chart-highlight-selection-fix.diff, n#568016, kohei
 
 # make sure to initialize data member before it gets used.
 svtools-uninitialized-member-fix.diff, kohei
+sc-uninitialized-var-fix.diff, kohei
 
 # Support PHONETIC function to display asian phonetic guide.
 # LATER: I'll take care of this later.  --kohei
diff --git a/patches/dev300/sc-uninitialized-var-fix.diff b/patches/dev300/sc-uninitialized-var-fix.diff
new file mode 100644
index 0000000..cc5dc2e
--- /dev/null
+++ b/patches/dev300/sc-uninitialized-var-fix.diff
@@ -0,0 +1,15 @@
+diff --git sc/source/ui/view/gridwin.cxx sc/source/ui/view/gridwin.cxx
+index a8a01e6..2500129 100644
+--- sc/source/ui/view/gridwin.cxx
++++ sc/source/ui/view/gridwin.cxx
+@@ -439,6 +439,10 @@ ScGridWindow::ScGridWindow( Window* pParent, ScViewData* pData, ScSplitPos eWhic
+             bPagebreakDrawn( FALSE ),
+             nPageScript( 0 ),
+             bDragRect( FALSE ),
++            nDragStartX( -1 ),
++            nDragStartY( -1 ),
++            nDragEndX( -1 ),
++            nDragEndY( -1 ),
+             meDragInsertMode( INS_NONE ),
+             nCurrentPointer( 0 ),
+             bIsInScroll( FALSE ),


More information about the ooo-build-commit mailing list