From 7b99cdb2d77a3feaf9b782c1e656f2d922e2746e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 5 Nov 2019 15:20:22 +0200 Subject: loplugin:indentation find broken if statements so I don't read the "then" block as being a sequential statements Change-Id: Ib2004acd3518bd4ebd2246f02a26c2c0a8bbab4c Reviewed-on: https://gerrit.libreoffice.org/82069 Tested-by: Jenkins Reviewed-by: Noel Grandin --- chart2/source/view/main/PropertyMapper.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chart2') diff --git a/chart2/source/view/main/PropertyMapper.cxx b/chart2/source/view/main/PropertyMapper.cxx index c4b4b6756097..f96c7b101509 100644 --- a/chart2/source/view/main/PropertyMapper.cxx +++ b/chart2/source/view/main/PropertyMapper.cxx @@ -405,7 +405,9 @@ void PropertyMapper::setMultiProperties( TOOLS_WARN_EXCEPTION("chart2", "" ); //if this occurs more often think of removing the XMultiPropertySet completely for better performance } - if(!bSuccess) + if(bSuccess) + return; + try { sal_Int32 nCount = std::max( rNames.getLength(), rValues.getLength() ); -- cgit