[calligra] respoin qreal patch

Rex Dieter rdieter at fedoraproject.org
Sun Dec 15 12:53:07 UTC 2013


commit 93839bf6a3042460639b75795b42a45e5ea9a4e6
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Sun Dec 15 06:53:01 2013 -0600

    respoin qreal patch

 calligra-2.7.90-qreal.patch |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/calligra-2.7.90-qreal.patch b/calligra-2.7.90-qreal.patch
index c9db055..f1f714d 100644
--- a/calligra-2.7.90-qreal.patch
+++ b/calligra-2.7.90-qreal.patch
@@ -51,3 +51,24 @@ diff -up calligra-2.7.90/sheets/commands/RowColumnManipulators.cpp.qreal calligr
                      }
                  }
              }
+diff -up calligra-2.7.90/sheets/part/Headers.cpp.qreal calligra-2.7.90/sheets/part/Headers.cpp
+--- calligra-2.7.90/sheets/part/Headers.cpp.qreal	2013-12-01 12:24:26.000000000 -0600
++++ calligra-2.7.90/sheets/part/Headers.cpp	2013-12-15 06:52:55.646321820 -0600
+@@ -279,7 +279,7 @@ void RowHeader::equalizeRow(double resiz
+     if (resize != 0.0) {
+         ResizeRowManipulator* command = new ResizeRowManipulator();
+         command->setSheet(m_pCanvas->activeSheet());
+-        command->setSize(qMax(qreal(2.0), resize));
++        command->setSize(qMax(2.0, resize));
+         command->add(*m_pCanvas->selection());
+         if (!command->execute())
+             delete command;
+@@ -778,7 +778,7 @@ void ColumnHeader::equalizeColumn(double
+     if (resize != 0.0) {
+         ResizeColumnManipulator* command = new ResizeColumnManipulator();
+         command->setSheet(m_pCanvas->activeSheet());
+-        command->setSize(qMax(qreal(2.0), resize));
++        command->setSize(qMax(2.0, resize));
+         command->add(*m_pCanvas->selection());
+         if (!command->execute())
+             delete command;


More information about the scm-commits mailing list