]> git.lyx.org Git - features.git/commitdiff
remove unused variable.
authorJosé Matox <jamatos@lyx.org>
Sat, 30 Oct 2004 19:35:54 +0000 (19:35 +0000)
committerJosé Matox <jamatos@lyx.org>
Sat, 30 Oct 2004 19:35:54 +0000 (19:35 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9150 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/paragraph.C

index 16edfe0062ab803c4702cede73a28db1cfdfe6a5..f682a02f68cce46acfab0f8db3f66bc3c069d9a3 100644 (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.
index 88a4193cb7eae40c6d84e3f0ed303230363f8721..c9ce2a6e9faacb50fc9157739b0b60b6f9824867 100644 (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);