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: