From 5688b51bcb23b12b335dadf4430b7b7c4407cbfb Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 4 Apr 2012 21:30:30 +0100 Subject: UniString::CreateFromInt32 -> rtl::OUString::valueOf --- unotools/source/config/securityoptions.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'unotools/source/config/securityoptions.cxx') 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]; -- cgit