diff options
Diffstat (limited to 'unotools/source/config')
-rw-r--r-- | unotools/source/config/securityoptions.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/unotools/source/config/securityoptions.cxx b/unotools/source/config/securityoptions.cxx index 2b762f0adae2..c8d65e2c2b1f 100644 --- a/unotools/source/config/securityoptions.cxx +++ b/unotools/source/config/securityoptions.cxx @@ -720,9 +720,7 @@ void SvtSecurityOptions_Impl::Commit() Sequence< Sequence< com::sun::star::beans::PropertyValue > > lPropertyValuesSeq( nCnt ); for( sal_Int32 i = 0 ; i < nCnt ; ++i ) { - String aPrefix( s ); - aPrefix += String::CreateFromInt32( i ); - aPrefix.AppendAscii( "/" ); + rtl::OUString aPrefix = rtl::OUStringBuffer(s).append(i).append('/').makeStringAndClear(); Sequence< com::sun::star::beans::PropertyValue > lPropertyValues( 3 ); lPropertyValues[ 0 ].Name = aPrefix + PROPERTYNAME_TRUSTEDAUTHOR_SUBJECTNAME; lPropertyValues[ 0 ].Value <<= m_seqTrustedAuthors[ i ][0]; |