[Libreoffice-commits] core.git: sw/source

Michael Stahl mstahl at redhat.com
Tue Apr 15 06:01:24 PDT 2014


 sw/source/filter/html/htmltab.cxx |    8 --------
 1 file changed, 8 deletions(-)

New commits:
commit 16691e09ee4e57c9ee9e8988f271f6c0dbe96b6b
Author: Michael Stahl <mstahl at redhat.com>
Date:   Tue Apr 15 14:49:47 2014 +0200

    sw: -Werror=unused-but-set-variable
    
    Change-Id: Id5bfbb2d55f8659aa3fab8a445d1f84dc4b8bb2b

diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx
index b8b96a6..3e6024e 100644
--- a/sw/source/filter/html/htmltab.cxx
+++ b/sw/source/filter/html/htmltab.cxx
@@ -3881,7 +3881,6 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, sal_Bool bReadOptions,
             break;
         case HTML_TABLE_ON:
             {
-                sal_Bool bTopTable = sal_False;
                 sal_Bool bHasToFly = sal_False;
                 SvxAdjust eTabAdjust = SVX_ADJUST_END;
                 if( !pPendStack )
@@ -3920,13 +3919,6 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, sal_Bool bReadOptions,
                     }
                     else
                     {
-                        // Wenn wir mitlerweile in einem Rahmen stehen
-                        // koennen wir erneut eine echte Tabelle aufmachen.
-                        // Wir erkennen das daran, dass wir keinen
-                        // Tabellen-Node mehr finden.
-                        bTopTable = (0 ==
-                            pPam->GetPoint()->nNode.GetNode().FindTableNode());
-
                         // Wenn im aktuellen Absatz Flys verankert sind,
                         // muss die neue Tabelle in einen Rahmen.
                         bHasToFly = HasCurrentParaFlys(sal_False,sal_True);


More information about the Libreoffice-commits mailing list