diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-04-08 15:42:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-04-08 15:44:45 +0100 |
commit | 626bac2f5ccec91eb9962c700564381158f826bc (patch) | |
tree | 14a615c38c71de73cce20a3745f7f9ec45b452b4 /svtools | |
parent | f40b19d4b8571ef48e57732d34dab55f11978384 (diff) |
Resolves: rhbz#949238 div by zero on pagedown in 0 width task pane
Change-Id: I2ee5e0b19db724adf94d699ce0af686648fb67e8
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/valueset.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index d26c3805991e..1e349b474382 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -1315,6 +1315,9 @@ void ValueSet::KeyInput( const KeyEvent& rKEvt ) return; } + if ( mbFormat ) + Format(); + --nLastItem; const size_t nCurPos = mnSelItemId ? GetItemPos( mnSelItemId ) : mpNoneItem ? VALUESET_ITEM_NONEITEM : 0; |