* InsetCollapsable::geometry(): shut up warning by returning a dummy value and cosmetics.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19620 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-08-17 12:11:32 +00:00
parent 6599f01d3f
commit f32757e3ef

View File

@ -60,14 +60,17 @@ InsetCollapsable::Geometry InsetCollapsable::geometry() const
return TopButton;
} else
return ButtonOnly;
break;
case Minimalistic:
return NoButton;
break;
case Conglomerate:
return ( status_ == Open ? SubLabel : Corners );
break;
return status_ == Open ? SubLabel : Corners;
}
// dummy return value to shut down a warning,
// this is dead code.
return NoButton;
}