[Libreoffice-commits] core.git: xmlscript/source
Jochen Nitschke
j.nitschke+logerrit at ok.de
Sun Jan 22 13:06:38 UTC 2017
xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx | 5 -----
1 file changed, 5 deletions(-)
New commits:
commit db2991d15950d30fd4202ad86ae78dc12fcee9ed
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date: Sun Jan 22 09:34:35 2017 +0000
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 at collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
index 2a94774..79d327e 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 );
More information about the Libreoffice-commits
mailing list