You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
914 B
29 lines
914 B
From 626bac2f5ccec91eb9962c700564381158f826bc Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
|
Date: Mon, 8 Apr 2013 15:42:46 +0100
|
|
Subject: [PATCH] Resolves: rhbz#949238 div by zero on pagedown in 0 width task
|
|
pane
|
|
|
|
Change-Id: I2ee5e0b19db724adf94d699ce0af686648fb67e8
|
|
---
|
|
svtools/source/control/valueset.cxx | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx
|
|
index d26c380..1e349b4 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;
|
|
--
|
|
1.8.1.2
|
|
|