diff -r 88d558ce079d -r 893ade52524b linkablemapobj.cpp --- a/linkablemapobj.cpp Tue Sep 04 13:53:33 2007 +0000 +++ b/linkablemapobj.cpp Wed May 14 14:11:33 2008 +0000 @@ -180,7 +180,7 @@ LinkableMapObj::Style LinkableMapObj::getDefLinkStyle () { - if (mapEditor==0) return UndefinedStyle; + if (!mapEditor) return UndefinedStyle; Style ls=mapEditor->getMapLinkStyle(); switch (ls) { @@ -560,10 +560,10 @@ break; } else if (typ=="bo:") - lmo=((BranchObj*)(lmo))->getBranchNum (num.toInt()); + lmo=((BranchObj*)lmo)->getBranchNum (num.toInt()); else if (typ=="fi:") - lmo=((BranchObj*)(lmo))->getFloatImageNum (num.toUInt()); + lmo=((BranchObj*)lmo)->getFloatImageNum (num.toUInt()); if (!lmo) break; if (s.contains(","))