[calligra] respin qreal patch

Rex Dieter rdieter at fedoraproject.org
Sun Dec 15 19:16:33 UTC 2013


commit abdac0d2c92b73f3f09f48f7ee22363cab2c22dd
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Sun Dec 15 13:16:19 2013 -0600

    respin qreal patch

 calligra-2.7.90-qreal.patch |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/calligra-2.7.90-qreal.patch b/calligra-2.7.90-qreal.patch
index f1f714d..45ddf9f 100644
--- a/calligra-2.7.90-qreal.patch
+++ b/calligra-2.7.90-qreal.patch
@@ -72,3 +72,15 @@ diff -up calligra-2.7.90/sheets/part/Headers.cpp.qreal calligra-2.7.90/sheets/pa
          command->add(*m_pCanvas->selection());
          if (!command->execute())
              delete command;
+diff -up calligra-2.7.90/sheets/ui/CellToolBase.cpp.qreal calligra-2.7.90/sheets/ui/CellToolBase.cpp
+--- calligra-2.7.90/sheets/ui/CellToolBase.cpp.qreal	2013-12-01 12:24:26.000000000 -0600
++++ calligra-2.7.90/sheets/ui/CellToolBase.cpp	2013-12-15 13:16:04.565326752 -0600
+@@ -2270,7 +2270,7 @@ void CellToolBase::equalizeColumn()
+         if (size != 0.0) {
+             ResizeColumnManipulator* command = new ResizeColumnManipulator();
+             command->setSheet(selection()->activeSheet());
+-            command->setSize(qMax(qreal(2.0), size));
++            command->setSize(qMax(2.0, size));
+             command->add(*selection());
+             if (!command->execute())
+                 delete command;


More information about the scm-commits mailing list