]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetbibtex.C
changelogs
[lyx.git] / src / insets / insetbibtex.C
index e2359daa72ffb03b84f7d0a7f759fec34eec6f80..73ca790e50296ee3b8f9153b26cc62cb960ae606 100644 (file)
@@ -62,13 +62,13 @@ InsetBibtex::InsetBibtex(InsetCommandParams const & p)
 {}
 
 
-std::auto_ptr<InsetBase> InsetBibtex::clone() const
+std::auto_ptr<InsetBase> InsetBibtex::doClone() const
 {
        return std::auto_ptr<InsetBase>(new InsetBibtex(*this));
 }
 
 
-void InsetBibtex::priv_dispatch(LCursor & cur, FuncRequest & cmd)
+void InsetBibtex::doDispatch(LCursor & cur, FuncRequest & cmd)
 {
        switch (cmd.action) {
 
@@ -81,7 +81,7 @@ void InsetBibtex::priv_dispatch(LCursor & cur, FuncRequest & cmd)
        }
 
        default:
-               InsetCommand::priv_dispatch(cur, cmd);
+               InsetCommand::doDispatch(cur, cmd);
                break;
        }
 }
@@ -101,12 +101,12 @@ string normalize_name(Buffer const & buffer, OutputParams const & runparams,
        string const fname = MakeAbsPath(name, buffer.filePath());
        if (AbsolutePath(name) || !IsFileReadable(fname + ext))
                return name;
-       else if (!runparams.nice) 
+       else if (!runparams.nice)
                return fname;
-       else 
+       else
                return MakeRelPath(fname, buffer.getMasterBuffer()->filePath());
 }
-       
+
 }
 
 
@@ -154,7 +154,7 @@ int InsetBibtex::latex(Buffer const & buffer, ostream & os,
 
        if (!style.empty()) {
                os << "\\bibliographystyle{"
-                  << os::external_path(normalize_name(buffer, runparams, 
+                  << os::external_path(normalize_name(buffer, runparams,
                                                       style, ".bst"))
                   << "}\n";
                i += 1;