From ef3950d26c2f9e03a60a118a18c1166c34ebf75c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Tue, 28 May 2002 12:03:42 +0000 Subject: [PATCH] move a comment and an #include git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4248 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/graphics/GraphicsParams.C | 1 + src/graphics/GraphicsParams.h | 1 - src/insets/insetgraphicsParams.h | 3 +++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/graphics/GraphicsParams.C b/src/graphics/GraphicsParams.C index 37257bdb52..a4481d7c46 100644 --- a/src/graphics/GraphicsParams.C +++ b/src/graphics/GraphicsParams.C @@ -14,6 +14,7 @@ #include "GraphicsParams.h" #include "Lsstream.h" +#include "lyxlength.h" namespace grfx { diff --git a/src/graphics/GraphicsParams.h b/src/graphics/GraphicsParams.h index 3d502f57fc..58a4b11a89 100644 --- a/src/graphics/GraphicsParams.h +++ b/src/graphics/GraphicsParams.h @@ -20,7 +20,6 @@ #endif #include "LString.h" -#include "lyxlength.h" namespace grfx { diff --git a/src/insets/insetgraphicsParams.h b/src/insets/insetgraphicsParams.h index aa7dd27869..dc8e0b508b 100644 --- a/src/insets/insetgraphicsParams.h +++ b/src/insets/insetgraphicsParams.h @@ -95,6 +95,9 @@ struct InsetGraphicsParams /// If the token belongs to our parameters, read it. bool Read(LyXLex & lex, string const & token); /// convert + // Only a subset of InsetGraphicsParams is needed for display purposes. + // This function also interrogates lyxrc to ascertain whether + // to display or not. grfx::GParams asGParams(string const & filepath) const; private: