diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2011-12-15 17:29:53 -0200 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2011-12-17 17:15:53 +0400 |
commit | 1b99d8800e399f45404ab62827163a873d2a1aec (patch) | |
tree | 647c91cd0af1e671e490d369bba8d8a2efde46da /cppuhelper/source/propshlp.cxx | |
parent | fix decoration drawing (diff) | |
download | core-1b99d8800e399f45404ab62827163a873d2a1aec.tar.gz core-1b99d8800e399f45404ab62827163a873d2a1aec.zip |
Fix for fdo43460 Part X getLength() to isEmpty()
Part X
Module
cppu
cppuhelper
cpputools
Diffstat (limited to 'cppuhelper/source/propshlp.cxx')
-rw-r--r-- | cppuhelper/source/propshlp.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx index 31210956cffa..338d9c184b24 100644 --- a/cppuhelper/source/propshlp.cxx +++ b/cppuhelper/source/propshlp.cxx @@ -311,7 +311,7 @@ void OPropertySetHelper::addPropertyChangeListener( { // only add listeners if you are not disposed // a listener with no name means all properties - if( rPropertyName.getLength() ) + if( !rPropertyName.isEmpty() ) { // get the map table IPropertyArrayHelper & rPH = getInfoHelper(); @@ -357,7 +357,7 @@ void OPropertySetHelper::removePropertyChangeListener( // all listeners are automaticly released in a dispose call if( !rBHelper.bInDispose && !rBHelper.bDisposed ) { - if( rPropertyName.getLength() ) + if( !rPropertyName.isEmpty() ) { // get the map table IPropertyArrayHelper & rPH = getInfoHelper(); @@ -393,7 +393,7 @@ void OPropertySetHelper::addVetoableChangeListener( { // only add listeners if you are not disposed // a listener with no name means all properties - if( rPropertyName.getLength() ) + if( !rPropertyName.isEmpty() ) { // get the map table IPropertyArrayHelper & rPH = getInfoHelper(); @@ -437,7 +437,7 @@ void OPropertySetHelper::removeVetoableChangeListener( // all listeners are automaticly released in a dispose call if( !rBHelper.bInDispose && !rBHelper.bDisposed ) { - if( rPropertyName.getLength() ) + if( !rPropertyName.isEmpty() ) { // get the map table IPropertyArrayHelper & rPH = getInfoHelper(); |