[PATCH libreoffice-4-0] Resolves: rhbz#949238 div by zero on pagedown in 0 width tas...

Caolán McNamara (via_Code_Review) gerrit at gerrit.libreoffice.org
Mon Apr 8 07:48:02 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3277

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/77/3277/1

Resolves: rhbz#949238 div by zero on pagedown in 0 width task pane

Change-Id: I2ee5e0b19db724adf94d699ce0af686648fb67e8
(cherry picked from commit 626bac2f5ccec91eb9962c700564381158f826bc)
---
M svtools/source/control/valueset.cxx
1 file changed, 3 insertions(+), 0 deletions(-)



diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx
index 3513b11..26492e6 100644
--- a/svtools/source/control/valueset.cxx
+++ b/svtools/source/control/valueset.cxx
@@ -1300,6 +1300,9 @@
         return;
     }
 
+    if ( mbFormat )
+        Format();
+
     --nLastItem;
     const size_t nCurPos = mnSelItemId ? GetItemPos( mnSelItemId )
                                        : mpNoneItem ? VALUESET_ITEM_NONEITEM : 0;

-- 
To view, visit https://gerrit.libreoffice.org/3277
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2ee5e0b19db724adf94d699ce0af686648fb67e8
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Caolán McNamara <caolanm at redhat.com>



More information about the LibreOffice mailing list