]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLine.cpp
#7379 avoid the wrap spell check question when buffer is empty
[lyx.git] / src / insets / InsetLine.cpp
index f81fe2d532aadfb4c4b27a75336b1de19aa415e5..022392d46234acdee8ce9e667538f5efab4c7e9b 100644 (file)
@@ -161,7 +161,7 @@ void InsetLine::draw(PainterInfo & pi, int x, int y) const
 }
 
 
-int InsetLine::latex(otexstream & os, OutputParams const &) const
+void InsetLine::latex(otexstream & os, OutputParams const &) const
 {
        bool have_offset = true;
        Length offset_len = Length(to_ascii(getParam("offset")));
@@ -180,8 +180,6 @@ int InsetLine::latex(otexstream & os, OutputParams const &) const
        if (have_offset)
                os      << "[" << from_ascii(offset) << "]";
        os << "{" << from_ascii(width) << "}{" << from_ascii(height) << '}';
-
-       return 0;
 }