From b2d157a4da4de1e8c1b843dc67367b7c832808b7 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Thu, 24 Oct 2024 19:44:06 +0200 Subject: [PATCH] No need to include Buffer.h everywhere --- src/frontends/qt/GuiLog.cpp | 1 + src/frontends/qt/qt_helpers.cpp | 1 + src/frontends/qt/qt_helpers.h | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/frontends/qt/GuiLog.cpp b/src/frontends/qt/GuiLog.cpp index f434d73b90..61dad74269 100644 --- a/src/frontends/qt/GuiLog.cpp +++ b/src/frontends/qt/GuiLog.cpp @@ -24,6 +24,7 @@ #include "support/Lexer.h" #include "support/lstrings.h" +#include "Buffer.h" #include "BufferParams.h" #include "IndicesList.h" diff --git a/src/frontends/qt/qt_helpers.cpp b/src/frontends/qt/qt_helpers.cpp index aa978952d6..8d7fa807d0 100644 --- a/src/frontends/qt/qt_helpers.cpp +++ b/src/frontends/qt/qt_helpers.cpp @@ -14,6 +14,7 @@ #include "qt_helpers.h" +#include "Buffer.h" #include "Format.h" #include "LengthCombo.h" #include "LyXRC.h" diff --git a/src/frontends/qt/qt_helpers.h b/src/frontends/qt/qt_helpers.h index dc5b9fc7d3..fe712dcc0f 100644 --- a/src/frontends/qt/qt_helpers.h +++ b/src/frontends/qt/qt_helpers.h @@ -13,7 +13,6 @@ #ifndef QTHELPERS_H #define QTHELPERS_H -#include "Buffer.h" #include "ColorSet.h" #include "support/Length.h" #include "support/qstring_helpers.h" @@ -31,6 +30,8 @@ class QWidget; namespace lyx { +class Buffer; + namespace support { class FileName; } namespace frontend {