1 From 45a3dd5393e07340d5a63d8a8735789d73a61b17 Mon Sep 17 00:00:00 2001
2 From: osnola <alonso@loria.fr>
3 Date: Mon, 18 May 2015 08:27:59 +0200
4 Subject: [PATCH] QuattroPro parser: correct a mistake when reading negative
8 src/lib/QuattroSpreadsheet.cpp | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 diff --git a/src/lib/QuattroSpreadsheet.cpp b/src/lib/QuattroSpreadsheet.cpp
12 index cb0f4f5..ce5e20a 100644
13 --- a/src/lib/QuattroSpreadsheet.cpp
14 +++ b/src/lib/QuattroSpreadsheet.cpp
15 @@ -1668,7 +1668,7 @@ bool QuattroSpreadsheet::readCell
19 - if (val & 0x2000) val = val - 0x4000;
20 + if (val>0x1000) val = val - 0x2000;