]> git.lyx.org Git - features.git/commitdiff
BufferParams.cpp; initialize formula_indentation with default value
authorUwe Stöhr <uwestoehr@lyx.org>
Thu, 6 Apr 2017 23:52:48 +0000 (01:52 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Thu, 6 Apr 2017 23:52:48 +0000 (01:52 +0200)
- Buffer.cpp: formula_indentation will not always be output/written -> erase it

src/Buffer.cpp
src/BufferParams.cpp

index 58de3b5a922d01630545cca1d9078d04a1d94dee..4b2a39fb451cbdd562fd02deda0057392dd0418f 100644 (file)
@@ -916,6 +916,7 @@ int Buffer::readHeader(Lexer & lex)
        params().headheight.erase();
        params().headsep.erase();
        params().footskip.erase();
+       params().formula_indentation.erase();
        params().columnsep.erase();
        params().fonts_cjk.erase();
        params().listings_params.clear();
index 0d905c0c605355819cfab3365dc111ff7d035b3f..35b49d414214b97903f3fec0ec9d63f8b6040f6b 100644 (file)
@@ -385,7 +385,7 @@ BufferParams::BufferParams()
        makeDocumentClass();
        paragraph_separation = ParagraphIndentSeparation;
        is_formula_indent = false;
-       formula_indentation = string();
+       formula_indentation = "30pt";
        quotes_style = InsetQuotesParams::EnglishQuotes;
        dynamic_quotes = false;
        fontsize = "default";