From bc0c63c8ee9cf51808dfe853e4733576b4608c3a Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 27 Oct 2009 19:51:30 +0000 Subject: [PATCH] What we mean by a label in HTML output and what LyX means by a label aren't the same thing, so we won't be generating default CSS for those. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31778 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetLayout.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/insets/InsetLayout.cpp b/src/insets/InsetLayout.cpp index b48a0625f5..edcc994b3f 100644 --- a/src/insets/InsetLayout.cpp +++ b/src/insets/InsetLayout.cpp @@ -406,16 +406,6 @@ void InsetLayout::makeDefaultCSS() const htmldefaultstyle_ = from_ascii(htmltag() + "." + defaultCSSClass() + " {\n") + mainfontCSS + from_ascii("\n}\n"); - /* - At present, we do not have default tags, etc, for the label. - if (labelfont_ == font_) - return; - docstring const labelfontCSS = labelfont_.asCSS(); - if (!labelfontCSS.empty()) - htmldefaultstyle_ += - from_ascii(htmllabeltag() + "." + defaultCSSLabelClass() + " {\n") + - labelfontCSS + from_ascii("\n}\n"); - */ } -- 2.39.2