[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - svtools/source

Caolán McNamara caolanm at redhat.com
Mon Apr 8 11:14:36 PDT 2013


 svtools/source/control/valueset.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit cc42de5dccf4f284e479ab3c9ab81b8b114a2d88
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Apr 8 15:42:46 2013 +0100

    Resolves: rhbz#949238 div by zero on pagedown in 0 width task pane
    
    Change-Id: I2ee5e0b19db724adf94d699ce0af686648fb67e8
    (cherry picked from commit 626bac2f5ccec91eb9962c700564381158f826bc)
    Reviewed-on: https://gerrit.libreoffice.org/3277
    Tested-by: David Tardon <dtardon at redhat.com>
    Reviewed-by: David Tardon <dtardon at redhat.com>

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 @@ void ValueSet::KeyInput( const KeyEvent& rKEvt )
         return;
     }
 
+    if ( mbFormat )
+        Format();
+
     --nLastItem;
     const size_t nCurPos = mnSelItemId ? GetItemPos( mnSelItemId )
                                        : mpNoneItem ? VALUESET_ITEM_NONEITEM : 0;


More information about the Libreoffice-commits mailing list