From cb419e33283429a11bdad24c686eda9df487e57f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Apr 08 2013 20:11:42 +0000 Subject: Resolves: rhbz#949238 div by zero on pagedown in 0 width task pane --- diff --git a/0001-Resolves-rhbz-949238-div-by-zero-on-pagedown-in-0-wi.patch b/0001-Resolves-rhbz-949238-div-by-zero-on-pagedown-in-0-wi.patch new file mode 100644 index 0000000..5c683a8 --- /dev/null +++ b/0001-Resolves-rhbz-949238-div-by-zero-on-pagedown-in-0-wi.patch @@ -0,0 +1,28 @@ +From 626bac2f5ccec91eb9962c700564381158f826bc Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= +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 + diff --git a/libreoffice.spec b/libreoffice.spec index 29dd7c7..be99067 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -44,7 +44,7 @@ Summary: Free Software Productivity Suite Name: libreoffice Epoch: 1 Version: %{libo_version}.2 -Release: 1%{?libo_prerelease}%{?dist} +Release: 2%{?libo_prerelease}%{?dist} License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0 Group: Applications/Productivity URL: http://www.documentfoundation.org/develop @@ -256,6 +256,7 @@ Patch34: 0001-Related-rhbz-902884-check-for-GetSelectedMasterPage-.patch Patch35: 0001-Resolves-rhbz-920697-i110881-rhbz-623191-presentatio.patch Patch36: 0001-rhbz-876742-speed-up-table-manipulation-in-Impress.patch Patch37: 0001-fdo-62617-display-groups-on-multiple-layers-correctl.patch +Patch38: 0001-Resolves-rhbz-949238-div-by-zero-on-pagedown-in-0-wi.patch %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %define instdir %{_libdir} @@ -1005,6 +1006,7 @@ mv -f redhat.soc extras/source/palettes/standard.soc %patch35 -p1 -b .rhbz-920697-i110881-rhbz-623191-presentatio.patch %patch36 -p1 -b .rhbz-876742-speed-up-table-manipulation-in-Impress.patch %patch37 -p1 -b .fdo-62617-display-groups-on-multiple-layers-correctl.patch +%patch38 -p1 -b .rhbz-949238-div-by-zero-on-pagedown-in-0-wi.patch # TODO: check this # these are horribly incomplete--empty translations and copied english @@ -2274,6 +2276,9 @@ update-desktop-database %{_datadir}/applications &> /dev/null || : %endif %changelog +* Mon Apr 08 2013 Caolán McNamara - 1:3.6.6.2-2 +- Resolves: rhbz#949238 div by zero on pagedown in 0 width task pane + * Thu Apr 04 2013 David Tardon - 1:3.6.6.2-1 - 3.6.6 rc2