From 096cf9f2e85ace276306e36ea74f5a081367689a Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 20 Jul 2010 19:45:36 +0000 Subject: [PATCH] Whitespace only (two tabs at end of each line?). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34991 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathHull.cpp | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index 7e97bedada..b69e5af089 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -517,25 +517,25 @@ void InsetMathHull::addPreview(DocIterator const & inset_pos, void InsetMathHull::preparePreview(DocIterator const & pos) const { - Buffer const * buffer = pos.buffer(); - - // collect macros at this position - MacroNameSet macros; - buffer->listMacroNames(macros); - MacroNameSet::iterator it = macros.begin(); - MacroNameSet::iterator end = macros.end(); - odocstringstream macro_preamble; - for (; it != end; ++it) { - MacroData const * data = buffer->getMacro(*it, pos, true); - if (data) { - data->write(macro_preamble, true); - macro_preamble << endl; + Buffer const * buffer = pos.buffer(); + + // collect macros at this position + MacroNameSet macros; + buffer->listMacroNames(macros); + MacroNameSet::iterator it = macros.begin(); + MacroNameSet::iterator end = macros.end(); + odocstringstream macro_preamble; + for (; it != end; ++it) { + MacroData const * data = buffer->getMacro(*it, pos, true); + if (data) { + data->write(macro_preamble, true); + macro_preamble << endl; } - } + } - docstring const snippet = macro_preamble.str() + latexString(*this); - LYXERR(Debug::MACROS, "Preview snippet: " << snippet); - preview_->addPreview(snippet, *buffer); + docstring const snippet = macro_preamble.str() + latexString(*this); + LYXERR(Debug::MACROS, "Preview snippet: " << snippet); + preview_->addPreview(snippet, *buffer); } -- 2.39.2