Removing debugging code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32457 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-12-10 16:44:33 +00:00
parent 69666056ca
commit ad67f42b17

View File

@ -414,7 +414,6 @@ bool LaTeXFeatures::isAvailable(string const & name)
void LaTeXFeatures::addPreambleSnippet(string const & preamble)
{
LYXERR0(preamble);
SnippetList::const_iterator begin = preamble_snippets_.begin();
SnippetList::const_iterator end = preamble_snippets_.end();
if (find(begin, end, preamble) == end)
@ -770,11 +769,8 @@ string LaTeXFeatures::getPreambleSnippets() const
ostringstream snip;
SnippetList::const_iterator pit = preamble_snippets_.begin();
SnippetList::const_iterator pend = preamble_snippets_.end();
for (; pit != pend; ++pit) {
LYXERR0(*pit);
for (; pit != pend; ++pit)
snip << *pit << '\n';
}
LYXERR0(snip.str());
return snip.str();
}