remove unused variable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9150 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
José Matox 2004-10-30 19:35:54 +00:00
parent 942ca65a5d
commit 3297d415dc
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-10-30 José Matos <jamatos@lyx.org>
* paragraph.C (getFirstWord): remove unused variable.
2004-10-30 José Matos <jamatos@lyx.org>
* paragraph.C (getFirstWord): the content should always be escaped there.

View File

@ -1376,7 +1376,6 @@ string Paragraph::getID() const
pos_type Paragraph::getFirstWord(Buffer const & buf, ostream & os, OutputParams const & runparams) const
{
pos_type i;
LyXLayout_ptr const & style = layout();
for (i = 0; i < size(); ++i) {
if (isInset(i)) {
InsetBase const * inset = getInset(i);