diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2011-12-27 11:08:04 -0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-12-30 12:37:17 +0100 |
commit | c3fc5c9c9b17cef63fa7c77a39a0971c27a004f9 (patch) | |
tree | 648b7a26cfabb4c56ae5558de926ed9e963da066 /linguistic/source/lngprophelp.cxx | |
parent | a17fb882569046cd9f6940cf2e87435200bb666b (diff) |
Fix for fdo43460 Part XXIII getLength() to isEmpty()
Part XXIII
Modules
linguistic
Diffstat (limited to 'linguistic/source/lngprophelp.cxx')
-rw-r--r-- | linguistic/source/lngprophelp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/lngprophelp.cxx b/linguistic/source/lngprophelp.cxx index da7c08d48666..91571f5820a0 100644 --- a/linguistic/source/lngprophelp.cxx +++ b/linguistic/source/lngprophelp.cxx @@ -262,7 +262,7 @@ void PropertyChgHelper::AddAsPropListener() const OUString *pPropName = aPropNames.getConstArray(); for (sal_Int32 i = 0; i < nLen; ++i) { - if (pPropName[i].getLength()) + if (!pPropName[i].isEmpty()) xPropSet->addPropertyChangeListener( pPropName[i], this ); } } @@ -276,7 +276,7 @@ void PropertyChgHelper::RemoveAsPropListener() const OUString *pPropName = aPropNames.getConstArray(); for (sal_Int32 i = 0; i < nLen; ++i) { - if (pPropName[i].getLength()) + if (!pPropName[i].isEmpty()) xPropSet->removePropertyChangeListener( pPropName[i], this ); } } |