summaryrefslogtreecommitdiff
path: root/sc/source/filter/html
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-02-10 20:22:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-02-10 20:22:31 +0000
commit89475ce26c00e30112afaf1f23ce1b1e63ae935e (patch)
tree7e33260fa8ab4ababba52b7e2569022cb6e32a59 /sc/source/filter/html
parent731ae82310f2816a4ec23aa62d93af5b60e0dba2 (diff)
WaE: values set but not used
Diffstat (limited to 'sc/source/filter/html')
-rw-r--r--sc/source/filter/html/htmlpars.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/filter/html/htmlpars.cxx b/sc/source/filter/html/htmlpars.cxx
index bdb3e60dd63d..1c8b32d3060a 100644
--- a/sc/source/filter/html/htmlpars.cxx
+++ b/sc/source/filter/html/htmlpars.cxx
@@ -958,7 +958,6 @@ void ScHTMLLayoutParser::TableDataOff( ImportInfo* pInfo )
void ScHTMLLayoutParser::TableOn( ImportInfo* pInfo )
{
String aTabName;
- bool bBorderOn = false;
if ( ++nTableLevel > 1 )
{ // Table in Table
@@ -991,7 +990,7 @@ void ScHTMLLayoutParser::TableOn( ImportInfo* pInfo )
}
break;
case HTML_O_BORDER:
- bBorderOn = ((pOption->GetString().Len() == 0) || (pOption->GetNumber() != 0));
+ // Border is: ((pOption->GetString().Len() == 0) || (pOption->GetNumber() != 0));
break;
case HTML_O_ID:
aTabName.Assign( pOption->GetString() );
@@ -1049,7 +1048,7 @@ void ScHTMLLayoutParser::TableOn( ImportInfo* pInfo )
}
break;
case HTML_O_BORDER:
- bBorderOn = ((pOption->GetString().Len() == 0) || (pOption->GetNumber() != 0));
+ //BorderOn is: ((pOption->GetString().Len() == 0) || (pOption->GetNumber() != 0));
break;
case HTML_O_ID:
aTabName.Assign( pOption->GetString() );