summaryrefslogtreecommitdiff
path: root/svl/source/passwordcontainer
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/passwordcontainer')
-rw-r--r--svl/source/passwordcontainer/passwordcontainer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx
index 2c41772352c8..fde28a2195c7 100644
--- a/svl/source/passwordcontainer/passwordcontainer.cxx
+++ b/svl/source/passwordcontainer/passwordcontainer.cxx
@@ -265,8 +265,7 @@ void StorageItem::setUseStorage( bool bUse )
bool StorageItem::useStorage()
{
- Sequence< OUString > aNodeNames( 1 );
- aNodeNames[0] = "UseStorage";
+ Sequence<OUString> aNodeNames { "UseStorage" };
Sequence< Any > aPropertyValues = ConfigItem::GetProperties( aNodeNames );