diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-04 09:34:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-04 11:10:57 +0000 |
commit | 0a205a7185e6d5d6cc277746e04f60278f80b859 (patch) | |
tree | b309f2e4e340c6d1b8560ceba603c74b4f186194 | |
parent | af88559697352ea527e6bba26ecaaf1ea8759841 (diff) |
coverity#1267647 Logically dead code
inspection shows its always non null
Change-Id: Idc2e0f62a29b635381685f81d0f9f88b3eef659d
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xftable.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xftable.cxx b/lotuswordpro/source/filter/xfilter/xftable.cxx index bc8c2940281c..f9576f032593 100644 --- a/lotuswordpro/source/filter/xfilter/xftable.cxx +++ b/lotuswordpro/source/filter/xfilter/xftable.cxx @@ -87,11 +87,9 @@ void XFTable::SetColumnStyle(sal_Int32 col, const OUString& style) m_aColumns[col] = style; } -void XFTable::AddRow(XFRow *pRow) +void XFTable::AddRow(XFRow *pRow) { assert(pRow); - if( !pRow ) - return; int row = pRow->GetRow(); |