]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewLoader.cpp
GuiTabular.cpp: don't hardcode decimal align combobox item
[lyx.git] / src / graphics / PreviewLoader.cpp
index 6b6e1bad7173a32322661cf5671a06aab695dd37..26c9b3c977d04f192359d4259e0ca16f3add424a 100644 (file)
@@ -716,7 +716,7 @@ void PreviewLoader::Impl::dumpPreamble(otexstream & os) const
        runparams.nice = true;
        runparams.moving_arg = true;
        runparams.free_spacing = true;
-       buffer_.writeLaTeXSource(os, buffer_.filePath(), runparams, true, false);
+       buffer_.writeLaTeXSource(os, buffer_.filePath(), runparams, Buffer::OnlyPreamble);
 
        // FIXME! This is a HACK! The proper fix is to control the 'true'
        // passed to WriteStream below: