]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetquotes.C
prepare for 1.1.6pre2
[lyx.git] / src / insets / insetquotes.C
index a9b676918854943974a497937afc02c0caf63657..41f4be19d5d635823e1f2a85144d85426a9e92ee 100644 (file)
@@ -78,7 +78,7 @@ InsetQuotes::InsetQuotes(char c, BufferParams const & params)
        : language(params.quotes_language), times(params.quotes_times)
 {
        // Decide whether left or right 
-       switch(c) {
+       switch (c) {
        case ' ': case '(': case '{': case '[': case '-': case ':':
        case LyXParagraph::META_HFILL:
        case LyXParagraph::META_NEWLINE: 
@@ -146,7 +146,7 @@ string const InsetQuotes::DispString() const
        if (times == InsetQuotes::DoubleQ)
                disp += disp;
 
-       if (lyxrc.font_norm == "iso8859-1") 
+       if (lyxrc.font_norm_type == LyXRC::ISO_8859_1)
                if (disp == "<<")
                        disp = '«';
                else if (disp == ">>")
@@ -272,7 +272,7 @@ int InsetQuotes::Linuxdoc(Buffer const *, ostream & os) const
 
 int InsetQuotes::DocBook(Buffer const *, ostream & os) const
 {
-       if(times == InsetQuotes::DoubleQ) {
+       if (times == InsetQuotes::DoubleQ) {
                if (side == InsetQuotes::LeftQ)
                        os << "&ldquo;";
                else