]> git.lyx.org Git - features.git/commitdiff
Revove unused variable
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 16 Feb 2018 16:47:14 +0000 (17:47 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 16 Feb 2018 16:47:14 +0000 (17:47 +0100)
src/Paragraph.cpp

index 52bc993d2a82a2454480c99d17914695bc2d4cc4..135cd80fecc58a4020d116719e142c398a4bff59 100644 (file)
@@ -1442,8 +1442,6 @@ void Paragraph::Private::validate(LaTeXFeatures & features) const
                // output is wrong if this paragraph contains content
                // that needs to switch encoding.
                Buffer const & buf = inset_owner_->buffer();
-               BufferParams const & bp = features.runparams().is_child
-                       ? buf.masterParams() : buf.params();
                otexstringstream os;
                os << layout_->preamble();
                size_t const length = os.length();