diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/migration/migration.cxx | 2 | ||||
-rw-r--r-- | desktop/source/migration/services/oo3extensionmigration.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx index d3df7559998e..599db808cd41 100644 --- a/desktop/source/migration/migration.cxx +++ b/desktop/source/migration/migration.cxx @@ -823,7 +823,7 @@ void MigrationImpl::runServices() sal_uInt32 nSize = rMigration.excludeExtensions.size(); if ( nSize > 0 ) seqExtBlackList = comphelper::arrayToSequence< OUString >( - &rMigration.excludeExtensions[0], nSize ); + rMigration.excludeExtensions.data(), nSize ); seqArguments[2] <<= NamedValue("ExtensionBlackList", uno::makeAny( seqExtBlackList )); diff --git a/desktop/source/migration/services/oo3extensionmigration.cxx b/desktop/source/migration/services/oo3extensionmigration.cxx index 3f814e2cc1eb..01f9c2e93355 100644 --- a/desktop/source/migration/services/oo3extensionmigration.cxx +++ b/desktop/source/migration/services/oo3extensionmigration.cxx @@ -326,7 +326,7 @@ void OO3ExtensionMigration::initialize( const Sequence< Any >& aArguments ) if ( (aValue.Value >>= aBlackList ) && ( aBlackList.getLength() > 0 )) { m_aBlackList.resize( aBlackList.getLength() ); - ::comphelper::sequenceToArray< OUString >( &m_aBlackList[0], aBlackList ); + ::comphelper::sequenceToArray< OUString >( m_aBlackList.data(), aBlackList ); } } } |