diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-01-22 09:34:35 +0000 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-22 13:06:07 +0000 |
commit | db2991d15950d30fd4202ad86ae78dc12fcee9ed (patch) | |
tree | 37c1749d37a45f7c5b22b4d816f07ea7f6cc4438 /xmlscript | |
parent | ab4a55632b2ed842457e4f4f63fcaa9fdfc315c4 (diff) |
cppcheck: multiCondition
> Expression is always false becase 'else if' condition matches
> previous condition at line 1130.
Change-Id: Ic56379716ada435ad7e2a00252310bfa50868f04
Reviewed-on: https://gerrit.libreoffice.org/33388
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx index 2a94774fb488..79d327eb3ea0 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx @@ -1152,11 +1152,6 @@ Reference< xml::input::XElement > TitledBoxElement::startChildElement( _radios.push_back( xRet ); return xRet; } - // event - else if (m_xImport->isEventElement( nUid, rLocalName )) - { - return new EventElement( nUid, rLocalName, xAttributes, this, m_xImport.get() ); - } else { return BulletinBoardElement::startChildElement( nUid, rLocalName, xAttributes ); |