]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewLoader.C
Add more controls to the view-source dialog.
[lyx.git] / src / graphics / PreviewLoader.C
index b2a63b753b789bf10a3fe42e93e3a1c1d0e295a1..0ed2ef8c0b5693b3af927f3685d0b78d0b9c3255 100644 (file)
@@ -498,12 +498,12 @@ void PreviewLoader::Impl::startLoading()
        // The conversion command.
        ostringstream cs;
        cs << pconverter_->command << ' ' << pconverter_->to << ' '
-          << support::QuoteName(latexfile) << ' '
+          << support::quoteName(latexfile) << ' '
           << int(font_scaling_factor_) << ' '
           << lyx_gui::hexname(LColor::preview) << ' '
           << lyx_gui::hexname(LColor::background);
 
-       string const command = support::LibScriptSearch(cs.str());
+       string const command = support::libScriptSearch(cs.str());
 
        // Initiate the conversion from LaTeX to bitmap images files.
        support::Forkedcall::SignalTypePtr
@@ -592,7 +592,7 @@ void PreviewLoader::Impl::dumpPreamble(ostream & os) const
        runparams.nice = true;
        runparams.moving_arg = true;
        runparams.free_spacing = true;
-       tmp.makeLaTeXFile(os, buffer_.filePath(), runparams, true, false);
+       tmp.writeLaTeXSource(os, buffer_.filePath(), runparams, true, false);
 
        // FIXME! This is a HACK! The proper fix is to control the 'true'
        // passed to WriteStream below:
@@ -654,7 +654,7 @@ string const unique_filename(string const bufferpath)
 {
        static int theCounter = 0;
        string const filename = convert<string>(theCounter++) + "lyxpreview";
-       return support::AddName(bufferpath, filename);
+       return support::addName(bufferpath, filename);
 }