[Libreoffice-commits] .: sw/source

Caolán McNamara caolan at kemper.freedesktop.org
Wed Nov 24 07:42:03 PST 2010


 sw/source/filter/html/htmltabw.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit db2d7e3d8bbcaa7eab24ba1038cb06c07d65d21a
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Nov 24 11:45:19 2010 +0000

    cppcheck: Variable is assigned a value that is never used under some ifdefs

diff --git a/sw/source/filter/html/htmltabw.cxx b/sw/source/filter/html/htmltabw.cxx
index a748aa8..c599518 100644
--- a/sw/source/filter/html/htmltabw.cxx
+++ b/sw/source/filter/html/htmltabw.cxx
@@ -279,7 +279,9 @@ void SwHTMLWrtTable::OutTableCell( SwHTMLWriter& rWrt,
     if ( !nRowSpan )
         return;
 
+#ifndef PURE_HTML
     SwWriteTableCol *pCol = aCols[nCol];
+#endif
 
     sal_Bool bOutWidth = sal_True;
 


More information about the Libreoffice-commits mailing list