From c45d3badc96481db093560b94d8bf51ead6bd17c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 17 Feb 2016 13:14:50 +0200 Subject: new loplugin: commaoperator Change-Id: I03f24e61f696b7619855e3c7010aa0d874e5a4ff --- toolkit/source/controls/geometrycontrolmodel.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toolkit') diff --git a/toolkit/source/controls/geometrycontrolmodel.cxx b/toolkit/source/controls/geometrycontrolmodel.cxx index 79da293067ae..f4cc7cd1f8c6 100644 --- a/toolkit/source/controls/geometrycontrolmodel.cxx +++ b/toolkit/source/controls/geometrycontrolmodel.cxx @@ -550,8 +550,8 @@ // -> remove from the aggregate property sequence ::comphelper::removeElementAt( aAggregateProps, pAggPropPos - pAggProps ); // which means we have to adjust the pointers - pAggProps = aAggregateProps.getConstArray(), - pAggPropsEnd = aAggregateProps.getConstArray() + aAggregateProps.getLength(), + pAggProps = aAggregateProps.getConstArray(); + pAggPropsEnd = aAggregateProps.getConstArray() + aAggregateProps.getLength(); // and additionally, remember the id of this property rDuplicateIds.push_back( pProp->Handle ); -- cgit