]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFonts.cpp
Track change of label name
[lyx.git] / src / LaTeXFonts.cpp
index 2c98845b3a805b7e78edeae9de95c6ec8f6dce04..b52a8c06d5e9c94bf96808fc4aa1f0f21f39a974 100644 (file)
@@ -243,7 +243,7 @@ string const LaTeXFont::getAvailablePackage(bool dryrun)
 
 
 string const LaTeXFont::getPackageOptions(bool ot1, bool complete, bool sc, bool osf,
-                                         int scale, string const extraopts, bool nomath)
+                                         int scale, string const extraopts, bool nomath)
 {
        ostringstream os;
        bool const needosfopt = (osf != osfdefault_);
@@ -251,8 +251,8 @@ string const LaTeXFont::getPackageOptions(bool ot1, bool complete, bool sc, bool
        bool const has_sc = providesSC(ot1, complete, nomath);
        bool const moreopts = providesMoreOptions(ot1, complete, nomath);
 
-       if (!packageoption_.empty())
-               os << to_ascii(packageoption_);
+       if (!packageoptions_.empty())
+               os << to_ascii(packageoptions_);
 
        if (sc && needosfopt && has_osf && has_sc) {
                if (!os.str().empty())
@@ -290,7 +290,7 @@ string const LaTeXFont::getPackageOptions(bool ot1, bool complete, bool sc, bool
 
 
 string const LaTeXFont::getLaTeXCode(bool dryrun, bool ot1, bool complete, bool sc,
-                                    bool osf, bool nomath, string const extraopts,
+                                    bool osf, bool nomath, string const extraopts,
                                     int const & scale)
 {
        ostringstream os;
@@ -462,7 +462,7 @@ bool LaTeXFont::readFont(Lexer & lex)
                        lex >> package_;
                        break;
                case LF_PACKAGEOPTIONS:
-                       lex >> packageoption_;
+                       lex >> packageoptions_;
                        break;
                case LF_PREAMBLE:
                        preamble_ = lex.getLongString(from_ascii("EndPreamble"));