X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Fdummy_impl.cpp;h=8ad5b7985908c109ea3e7494e4a2f8999dbb9f63;hb=298730215c21735f16e7278a5d5a4469fb0b9859;hp=9e9c3107292c563fc7286b4d3d2db4f9dc1aa10b;hpb=66fa801e74e1775b31008df548332436ce79e2e1;p=lyx.git diff --git a/src/tex2lyx/dummy_impl.cpp b/src/tex2lyx/dummy_impl.cpp index 9e9c310729..8ad5b79859 100644 --- a/src/tex2lyx/dummy_impl.cpp +++ b/src/tex2lyx/dummy_impl.cpp @@ -48,16 +48,10 @@ namespace Alert { // -// Dummy TexRow support (needed by docstream) +// Dummy verbose support // - -void TexRow::newline() -{} - - -void TexRow::newlines(int) -{} +bool verbose = false; // @@ -125,15 +119,16 @@ string alignmentToCSS(LyXAlignment) // Dummy FontMetrics (needed by Length) // - +namespace frontend { class FontMetrics { int em() const { return 0; }; }; +} class FontInfo; -FontMetrics const & theFontMetrics(FontInfo const &) { - static FontMetrics dummy; +frontend::FontMetrics const & theFontMetrics(FontInfo const &) { + static frontend::FontMetrics dummy; return dummy; }