]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetref.C
Enable convertDefault.sh to run even if its executable bit is not set.
[lyx.git] / src / insets / insetref.C
index 72f03aa4c542a3444c82a5cc65819abcfe71f1b1..c4affe9143683c3378234f064257c5691d60b0fb 100644 (file)
@@ -5,7 +5,7 @@
  *
  * \author José Matos
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 #include <config.h>
 
@@ -60,7 +60,7 @@ dispatch_result InsetRef::localDispatch(FuncRequest const & cmd)
 }
 
 
-string const InsetRef::getScreenLabel(Buffer const *) const
+string const InsetRef::getScreenLabel(Buffer const &) const
 {
        string temp;
        for (int i = 0; !types[i].latex_name.empty(); ++ i)
@@ -79,7 +79,7 @@ string const InsetRef::getScreenLabel(Buffer const *) const
 }
 
 
-int InsetRef::latex(Buffer const *, ostream & os,
+int InsetRef::latex(Buffer const &, ostream & os,
                    LatexRunParams const &) const
 {
        if (getOptions().empty())
@@ -92,14 +92,14 @@ int InsetRef::latex(Buffer const *, ostream & os,
 }
 
 
-int InsetRef::ascii(Buffer const *, ostream & os, int) const
+int InsetRef::ascii(Buffer const &, ostream & os, int) const
 {
        os << '[' << getContents() << ']';
        return 0;
 }
 
 
-int InsetRef::linuxdoc(Buffer const *, ostream & os) const
+int InsetRef::linuxdoc(Buffer const &, ostream & os) const
 {
        os << "<ref id=\"" << getContents()
           << "\" name=\"" << getOptions() << "\" >";
@@ -107,7 +107,7 @@ int InsetRef::linuxdoc(Buffer const *, ostream & os) const
 }
 
 
-int InsetRef::docbook(Buffer const *, ostream & os, bool) const
+int InsetRef::docbook(Buffer const &, ostream & os, bool) const
 {
        if (getOptions().empty()) {
                os << "<xref linkend=\"" << getContents() << "\">";