From 2944cdd82ae3646f265012cc939a3537226881a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Sat, 8 Dec 2007 10:50:30 +0000 Subject: [PATCH] fix wrong tex2lyx hack git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22008 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Layout.cpp | 3 --- src/TextClass.cpp | 2 -- src/tex2lyx/Font.h | 2 +- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Layout.cpp b/src/Layout.cpp index c5bc4e5d10..598222237a 100644 --- a/src/Layout.cpp +++ b/src/Layout.cpp @@ -29,9 +29,6 @@ namespace lyx { using support::subst; using support::trim; -#ifndef FONT_H -extern FontInfo lyxRead(Lexer &, FontInfo const & fi = sane_font); -#endif /// Special value of toclevel for layouts that to not belong in a TOC const int Layout::NOT_IN_TOC = -1000; diff --git a/src/TextClass.cpp b/src/TextClass.cpp index 00cbf09414..f3fa29263d 100644 --- a/src/TextClass.cpp +++ b/src/TextClass.cpp @@ -50,8 +50,6 @@ using support::rtrim; using support::subst; using support::addName; -extern FontInfo lyxRead(Lexer &, FontInfo const & fi = sane_font); - namespace { diff --git a/src/tex2lyx/Font.h b/src/tex2lyx/Font.h index 408754aafa..b77ead7383 100644 --- a/src/tex2lyx/Font.h +++ b/src/tex2lyx/Font.h @@ -47,7 +47,7 @@ public: }; /// Read a font specification from Lexer. Used for layout files. -FontInfo lyxRead(Lexer &, FontInfo const & fi); +FontInfo lyxRead(Lexer &, FontInfo const & fi = sane_font); } // namespace lyx