From 7c170d8fa8ea754c76aee8821752d838257361a2 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Tue, 4 Aug 2009 09:26:46 +0000 Subject: [PATCH] Please Andre git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30856 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Paragraph.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 6a0c16a188..6b0f27543a 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -2552,9 +2552,9 @@ docstring Paragraph::asString(pos_type beg, pos_type end, int options) const for (pos_type i = beg; i < end; ++i) { char_type const c = d->text_[i]; if (isPrintable(c) || c == '\t' - || (c == '\n' && options & AS_STR_NEWLINES)) + || (c == '\n' && (options & AS_STR_NEWLINES))) os.put(c); - else if (c == META_INSET && options & AS_STR_INSETS) { + else if (c == META_INSET && (options & AS_STR_INSETS)) { getInset(i)->tocString(os); if (getInset(i)->asInsetMath()) os << " "; @@ -2577,9 +2577,9 @@ docstring Paragraph::stringify(pos_type beg, pos_type end, int options, OutputPa for (pos_type i = beg; i < end; ++i) { char_type const c = d->text_[i]; if (isPrintable(c) || c == '\t' - || (c == '\n' && options & AS_STR_NEWLINES)) + || (c == '\n' && (options & AS_STR_NEWLINES))) os.put(c); - else if (c == META_INSET && options & AS_STR_INSETS) { + else if (c == META_INSET && (options & AS_STR_INSETS)) { getInset(i)->plaintext(os, runparams); } } -- 2.39.5