View Issue Details

IDProjectCategoryView StatusLast Update
0002441ScribusInternalpublic2005-08-17 19:28
Reporterjghali Assigned Tofschmid  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformAllOSAll 
Product Version1.3.1cvs 
Fixed in Version1.3.1cvs 
Summary0002441: Error in align.cpp due to bad type checking
DescriptionA nice bug due to a compiler bug : division of a double by a function pointer...
TagsNo tags attached.
Patch

Activities

2005-08-16 15:55

 

align_bad_type_checking.diff (753 bytes)   
Index: align.cpp
===================================================================
RCS file: /cvs/Scribus/scribus/align.cpp,v
retrieving revision 1.15.2.6
diff -u -r1.15.2.6 align.cpp
--- align.cpp	6 Aug 2005 22:57:38 -0000	1.15.2.6
+++ align.cpp	10 Aug 2005 13:56:53 -0000
@@ -176,9 +176,9 @@
 
 void Align::slotApplyDiag()
 {
-	double xdp = AHor->value() / currDoc->unitRatio;
+	double xdp = AHor->value() / currDoc->unitRatio();
 	bool xa = (CheckH->isChecked() || VerteilenH->isChecked());
-	double ydp = AVert->value() / currDoc->unitRatio;
+	double ydp = AVert->value() / currDoc->unitRatio();
 	bool ya = (CheckV->isChecked() || VerteilenV->isChecked());
 	int xart = VartH->currentItem();
 	int yart = VartV->currentItem();

fschmid

2005-08-16 23:09

administrator   ~0006131

align.cpp isn't used anymore, it shouldn't get compiled anymore.

fschmid

2005-08-16 23:10

administrator   ~0006132

Resolving this as the file in question isn't used anymore, we should remove it from CVS.

plinnell

2005-08-17 09:14

viewer   ~0006137

removed from cvs

Issue History

Date Modified Username Field Change
2005-08-16 15:55 jghali New Issue
2005-08-16 15:55 jghali File Added: align_bad_type_checking.diff
2005-08-16 20:03 plinnell Assigned To => fschmid
2005-08-16 20:03 plinnell Status new => assigned
2005-08-16 23:09 fschmid Note Added: 0006131
2005-08-16 23:10 fschmid Status assigned => resolved
2005-08-16 23:10 fschmid Fixed in Version => 1.3.1cvs
2005-08-16 23:10 fschmid Resolution open => no change required
2005-08-16 23:10 fschmid Note Added: 0006132
2005-08-17 09:14 plinnell Note Added: 0006137
2005-08-17 19:28 jghali Status resolved => closed