diff -r 88d558ce079d -r 058b0e70f5ec linkablemapobj.cpp --- a/linkablemapobj.cpp Tue Sep 04 13:53:33 2007 +0000 +++ b/linkablemapobj.cpp Mon May 05 13:46:42 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(","))