From 6a4d3dbef779c0be9a7e69f1801b2bfb4dcb86c8 Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Tue, 18 Aug 2020 05:40:34 +0200 Subject: [PATCH] DocBook: remove useless includes. --- src/output_docbook.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/output_docbook.cpp b/src/output_docbook.cpp index 12601c5f5e..04818907c2 100644 --- a/src/output_docbook.cpp +++ b/src/output_docbook.cpp @@ -16,8 +16,6 @@ #include "BufferParams.h" #include "Font.h" #include "InsetList.h" -#include "Layout.h" -#include "OutputParams.h" #include "Paragraph.h" #include "ParagraphList.h" #include "ParagraphParameters.h" @@ -30,11 +28,7 @@ #include "insets/InsetLabel.h" #include "insets/InsetNote.h" -#include "support/convert.h" -#include "support/debug.h" #include "support/lassert.h" -#include "support/lstrings.h" -#include "support/textutils.h" #include "support/regex.h" @@ -159,6 +153,7 @@ string fontToRole(xml::FontTypes type) } } + string fontToAttribute(xml::FontTypes type) { // If there is a role (i.e. nonstandard use of a tag), output the attribute. Otherwise, the sheer tag is sufficient // for the font. -- 2.39.5