From: André Pönitz Date: Tue, 28 May 2002 12:03:42 +0000 (+0000) Subject: move a comment and an #include X-Git-Tag: 1.6.10~19193 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ef3950d26c2f9e03a60a118a18c1166c34ebf75c;p=features.git move a comment and an #include git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4248 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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: