mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
* 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:
parent
6599f01d3f
commit
f32757e3ef
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user