summaryrefslogtreecommitdiff
path: root/desktop/source/migration/services/wordbookmigration.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/migration/services/wordbookmigration.cxx')
-rw-r--r--desktop/source/migration/services/wordbookmigration.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/migration/services/wordbookmigration.cxx b/desktop/source/migration/services/wordbookmigration.cxx
index 4605142530bb..9ae35631b947 100644
--- a/desktop/source/migration/services/wordbookmigration.cxx
+++ b/desktop/source/migration/services/wordbookmigration.cxx
@@ -66,8 +66,7 @@ namespace migration
::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
if ( !pNames )
{
- static Sequence< OUString > aNames(1);
- aNames.getArray()[0] = "com.sun.star.migration.Wordbooks";
+ static Sequence< OUString > aNames { "com.sun.star.migration.Wordbooks" };
pNames = &aNames;
}
}