Author: rgheck
Date: Tue Jul 20 21:45:36 2010
New Revision: 34991
URL: http://www.lyx.org/trac/changeset/34991
Log:
Whitespace only (two tabs at end of each line?).
Modified:
lyx-devel/trunk/src/mathed/InsetMathHull.cpp
Modified: lyx-devel/trunk/src/mathed/InsetMathHull.cpp
==============================================================================
--- lyx-devel/trunk/src/mathed/InsetMathHull.cpp Tue Jul 20 18:02:47
2010 (r34990)
+++ lyx-devel/trunk/src/mathed/InsetMathHull.cpp Tue Jul 20 21:45:36
2010 (r34991)
@@ -517,25 +517,25 @@
void InsetMathHull::preparePreview(DocIterator const & pos) const
{
- Buffer const * buffer = pos.buffer();
+ 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);
+ // 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);
}