From: Richard Heck Date: Sun, 3 Apr 2011 12:56:58 +0000 (+0000) Subject: Different types of boxes should all have their own layouts. This X-Git-Tag: 2.0.0~261 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=41463b84e55008a8992aa93a594a9c0a900276de;p=features.git Different types of boxes should all have their own layouts. This involves no change of functionality, due to the fall-back mechanism and is needed for XHTML CSS output for the boxes. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38225 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetBox.cpp b/src/insets/InsetBox.cpp index b6d574e4c2..7b8d8232c2 100644 --- a/src/insets/InsetBox.cpp +++ b/src/insets/InsetBox.cpp @@ -105,10 +105,7 @@ InsetBox::InsetBox(Buffer * buffer, string const & label) docstring InsetBox::layoutName() const { // FIXME: UNICODE - string name = "Box"; - if (boxtranslator().find(params_.type) == Shaded) - name += ":Shaded"; - return from_ascii(name); + return from_ascii("Box:" + params_.type); }