[ooo-build-commit] patches/dev300

Thorsten Behrens thorsten at kemper.freedesktop.org
Wed Dec 16 13:58:29 PST 2009


 patches/dev300/apply                       |    1 
 patches/dev300/layout-listbox-minsize.diff |   31 +++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)

New commits:
commit 0da0e8f0c47574ebf8b191d365312a9c09172c19
Author: Thorsten Behrens <tbehrens at novell.com>
Date:   Wed Dec 16 22:55:30 2009 +0100

    Fix random ListBox::CalcMinimumSize() results
    
    * patches/dev300/apply: added the patch
    * patches/dev300/layout-listbox-minsize.diff: while fixing n#557230
      I noticed the calc's move-copy sheet dialog sometimes got insane
      height; turned out to be an uninitialized var in vcl.

diff --git a/patches/dev300/apply b/patches/dev300/apply
index 426041e..63cac72 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -2369,6 +2369,7 @@ build-fix-layout-numfmt.diff
 layout-parallel-build.diff
 layout-fix-experimental-layout.diff, n#557230, thorsten
 layout-crash-fix.diff, n#557230, thorsten
+layout-listbox-minsize.diff, n#557230, thorsten
 
 [ FrameworkFeature ]
 SectionOwner => kohei
diff --git a/patches/dev300/layout-listbox-minsize.diff b/patches/dev300/layout-listbox-minsize.diff
new file mode 100644
index 0000000..4712aa8
--- /dev/null
+++ b/patches/dev300/layout-listbox-minsize.diff
@@ -0,0 +1,31 @@
+Fix random ListBox::CalcMinimumSize() results
+
+From: Thorsten Behrens <thb at openoffice.org>
+
+
+---
+
+ vcl/source/control/lstbox.cxx |    2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+
+diff --git vcl/source/control/lstbox.cxx vcl/source/control/lstbox.cxx
+index 62822ab..36d52b6 100644
+--- vcl/source/control/lstbox.cxx
++++ vcl/source/control/lstbox.cxx
+@@ -101,6 +101,7 @@ ListBox::~ListBox()
+ 
+ void ListBox::ImplInitListBoxData()
+ {
++    mpImplLB        = NULL;
+     mpFloatWin		= NULL;
+     mpImplWin		= NULL;
+     mpBtn			= NULL;
+@@ -108,6 +109,7 @@ void ListBox::ImplInitListBoxData()
+     mnDDHeight		= 0;
+     mbDDAutoSize	= TRUE;
+     mnSaveValue 	= LISTBOX_ENTRY_NOTFOUND;
++    mnLineCount     = 0;
+ }
+ 
+ // -----------------------------------------------------------------------


More information about the ooo-build-commit mailing list