From 6a1bf700b45a7cf8cc51354eb23ab6462e6c5816 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 27 Oct 2009 18:23:53 +0000 Subject: [PATCH] A bit more cleanup, after JMarc. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31773 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/FontInfo.cpp | 1 + src/insets/InsetLayout.cpp | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/FontInfo.cpp b/src/FontInfo.cpp index 8343df0751..7efe2c7611 100644 --- a/src/FontInfo.cpp +++ b/src/FontInfo.cpp @@ -475,6 +475,7 @@ docstring FontInfo::asCSS() const return from_ascii(retval); } + // Set family according to lyx format string void setLyXFamily(string const & fam, FontInfo & f) { diff --git a/src/insets/InsetLayout.cpp b/src/insets/InsetLayout.cpp index 0659761810..cb881f40df 100644 --- a/src/insets/InsetLayout.cpp +++ b/src/insets/InsetLayout.cpp @@ -374,10 +374,6 @@ string InsetLayout::defaultCSSClass() const void InsetLayout::makeDefaultCSS() const { -#ifdef TEX2LYX - // tex2lyx does not have FontInfo::asCSS() - return; -#else if (!htmldefaultstyle_.empty()) return; if (!htmltag_.empty()) { @@ -397,7 +393,6 @@ void InsetLayout::makeDefaultCSS() const . from_ascii(htmllabeltag() + "." + defaultCSSLabelClass() + " {\n") + labelfontCSS + from_ascii("\n}\n"); */ -#endif } docstring InsetLayout::htmlstyle() const -- 2.39.5