View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000757 | FreeCAD | Bug | public | 2012-06-19 08:27 | 2012-06-19 09:43 |
| Reporter | jrheinlaender | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Fixed in Version | 0.13 | ||||
| Summary | 0000757: comparison of const char* using == | ||||
| Description | In file Drawing/App/FeaturePage.cpp the line if(Template.getValue() == "") should read if(Template.isEmpty()) | ||||
| Tags | No tags attached. | ||||
| FreeCAD Information | |||||
|
|
Just saw that the same file also has if (Template.getValue() != "") which should probably read if (std::string(Template.getValue()) != "") |
|
|
This has already been fixed for a week. See http://free-cad.git.sourceforge.net/git/gitweb.cgi?p=free-cad/free-cad;a=blobdiff;f=src/Mod/Drawing/App/FeaturePage.cpp;h=0af2e7f4d47e9af629aae1b80951335b2cadfccf;hp=c1730ebc4a6c02d54769a63c7b465e8224aa829c;hb=104f9d522589b1f8e713b75d31c54e8b3193c21e;hpb=231786f5792ffa2ac32b38d00ca444b6f92fa92f |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-06-19 08:27 | jrheinlaender | New Issue | |
| 2012-06-19 08:31 | jrheinlaender | Note Added: 0002219 | |
| 2012-06-19 09:43 | wmayer | Note Added: 0002220 | |
| 2012-06-19 09:43 | wmayer | Status | new => closed |
| 2012-06-19 09:43 | wmayer | Resolution | open => fixed |
| 2012-06-19 09:43 | wmayer | Fixed in Version | => 0.13 |
FreeCAD