diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/ucbstorage.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx index 460b3c650fe3..683ceada14b8 100644 --- a/sot/source/sdstor/ucbstorage.cxx +++ b/sot/source/sdstor/ucbstorage.cxx @@ -1939,12 +1939,8 @@ bool UCBStorage_Impl::Insert( ::ucbhelper::Content *pContent ) if ( rProps[ 0 ].Name != "Title" ) continue; - Sequence < OUString > aNames { "Title" }; - Sequence < Any > aValues(1); - aValues[0] <<= m_aName; - Content aNewFolder; - if ( !pContent->insertNewContent( rCurr.Type, aNames, aValues, aNewFolder ) ) + if ( !pContent->insertNewContent( rCurr.Type, { "Title" }, { Any(m_aName) }, aNewFolder ) ) continue; // remove old content, create an "empty" new one and initialize it with the new inserted |