View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002441 | Scribus | Internal | public | 2005-08-16 15:55 | 2005-08-17 19:28 |
| Reporter | jghali | Assigned To | fschmid | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Platform | All | OS | All | ||
| Product Version | 1.3.1cvs | ||||
| Fixed in Version | 1.3.1cvs | ||||
| Summary | 0002441: Error in align.cpp due to bad type checking | ||||
| Description | A nice bug due to a compiler bug : division of a double by a function pointer... | ||||
| Tags | No tags attached. | ||||
| Attached Files | 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();
| ||||
| Patch | |||||
|
|
align.cpp isn't used anymore, it shouldn't get compiled anymore. |
|
|
Resolving this as the file in question isn't used anymore, we should remove it from CVS. |
|
|
removed from cvs |
| 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 |
|
Assigned To | => fschmid |
| 2005-08-16 20:03 |
|
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 |
|
Note Added: 0006137 | |
| 2005-08-17 19:28 | jghali | Status | resolved => closed |