diff options
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/chart/MultiPropertySetHandler.hxx | 8 | ||||
-rw-r--r-- | xmloff/source/core/RDFaImportHelper.cxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/xmloff/source/chart/MultiPropertySetHandler.hxx b/xmloff/source/chart/MultiPropertySetHandler.hxx index ab0ce3ae389d..953e943d9f51 100644 --- a/xmloff/source/chart/MultiPropertySetHandler.hxx +++ b/xmloff/source/chart/MultiPropertySetHandler.hxx @@ -209,7 +209,7 @@ MultiPropertySetHandler::MultiPropertySetHandler (::com::sun::star::uno::Referen MultiPropertySetHandler::~MultiPropertySetHandler (void) { ::std::map< ::rtl::OUString, PropertyWrapperBase*, OUStringComparison>::iterator I; - for (I=aPropertyList.begin(); I!=aPropertyList.end(); I++) + for (I=aPropertyList.begin(); I!=aPropertyList.end(); ++I) delete I->second; } @@ -220,7 +220,7 @@ sal_Bool MultiPropertySetHandler::GetProperties (void) ::std::map< ::rtl::OUString, PropertyWrapperBase*, OUStringComparison>::iterator I; ::com::sun::star::uno::Sequence< ::rtl::OUString> aNameList (aPropertyList.size()); int i; - for (I=aPropertyList.begin(),i=0; I!=aPropertyList.end(); I++) + for (I=aPropertyList.begin(),i=0; I!=aPropertyList.end(); ++I) aNameList[i++] = I->second->msName; if ( ! MultiGet(aNameList)) if ( ! SingleGet(aNameList)) @@ -243,7 +243,7 @@ sal_Bool MultiPropertySetHandler::MultiGet (const ::com::sun::star::uno::Se int i; ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any> aValueList = xMultiSet->getPropertyValues (rNameList); - for (I=aPropertyList.begin(),i=0; I!=aPropertyList.end(); I++) + for (I=aPropertyList.begin(),i=0; I!=aPropertyList.end(); ++I) I->second->SetValue (aValueList[i++]); } catch (const ::com::sun::star::beans::UnknownPropertyException&) @@ -269,7 +269,7 @@ sal_Bool MultiPropertySetHandler::SingleGet (const ::com::sun::star::uno::Se { ::std::map< ::rtl::OUString, PropertyWrapperBase*, OUStringComparison>::iterator I; int i; - for (I=aPropertyList.begin(),i=0; I!=aPropertyList.end(); I++) + for (I=aPropertyList.begin(),i=0; I!=aPropertyList.end(); ++I) I->second->SetValue (xSingleSet->getPropertyValue (rNameList[i++])); } catch (const ::com::sun::star::beans::UnknownPropertyException&) diff --git a/xmloff/source/core/RDFaImportHelper.cxx b/xmloff/source/core/RDFaImportHelper.cxx index 6b980d4a36e2..be466c8c9573 100644 --- a/xmloff/source/core/RDFaImportHelper.cxx +++ b/xmloff/source/core/RDFaImportHelper.cxx @@ -236,7 +236,7 @@ RDFaReader::ReadCURIEs(::rtl::OUString const & i_rCURIEs) const } } while (!CURIEs.isEmpty()); - if (!vec.size()) + if (vec.empty()) { OSL_TRACE( "ReadCURIEs: invalid CURIEs" ); } |