[Uml-devel] [Bug 122184] void is imported as class and not datatypes
Oliver Kellogg
okellogg at users.sourceforge.net
Sat Feb 18 11:42:01 UTC 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=122184
okellogg users sourceforge net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From okellogg users sourceforge net 2006-02-18 20:41 -------
SVN commit 511080 by okellogg:
insertMethod(): Don't set the return type if it is "void".
BUG:122184
M +2 -1 import_utils.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/import_utils.cpp #511079:511080
@ -268,7 +268,8 @
bool isFriend, bool isConstructor,
QString comment) {
op->setVisibility(scope);
- if (!type.isEmpty()) { // return type may be missing (constructor/destructor)
+ if (!type.isEmpty() // return type may be missing (constructor/destructor)
+ && type != "void") {
if (type == klass->getName()) {
op->setType(klass);
} else {
More information about the umbrello-devel
mailing list