diff options
Diffstat (limited to 'desktop/source/migration/services/oo3extensionmigration.cxx')
-rw-r--r-- | desktop/source/migration/services/oo3extensionmigration.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/migration/services/oo3extensionmigration.cxx b/desktop/source/migration/services/oo3extensionmigration.cxx index 01f9c2e93355..ae46322a9092 100644 --- a/desktop/source/migration/services/oo3extensionmigration.cxx +++ b/desktop/source/migration/services/oo3extensionmigration.cxx @@ -323,7 +323,7 @@ void OO3ExtensionMigration::initialize( const Sequence< Any >& aArguments ) else if ( aValue.Name == "ExtensionBlackList" ) { Sequence< OUString > aBlackList; - if ( (aValue.Value >>= aBlackList ) && ( aBlackList.getLength() > 0 )) + if ( (aValue.Value >>= aBlackList ) && aBlackList.hasElements()) { m_aBlackList.resize( aBlackList.getLength() ); ::comphelper::sequenceToArray< OUString >( m_aBlackList.data(), aBlackList ); |