summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-02 16:02:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-03 21:24:35 +0100
commitbccf34c19ae022b67565e212fa4ec0d5213947de (patch)
tree73c2d2e29ad8d15999cbfb2ff554efa1e502a35e /uui
parent285289275d1cf1769080a208b55be984cd269e1e (diff)
ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
Diffstat (limited to 'uui')
-rw-r--r--uui/source/iahndl-ssl.cxx2
-rw-r--r--uui/source/secmacrowarnings.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/uui/source/iahndl-ssl.cxx b/uui/source/iahndl-ssl.cxx
index 06ef9b70b7a3..0639d68edb8f 100644
--- a/uui/source/iahndl-ssl.cxx
+++ b/uui/source/iahndl-ssl.cxx
@@ -70,7 +70,7 @@ getContentPart( const String& _rRawString )
int i = 0;
while ( aIDs[i] )
{
- String sPartId = String::CreateFromAscii( aIDs[i++] );
+ String sPartId = rtl::OUString::createFromAscii( aIDs[i++] );
xub_StrLen nContStart = _rRawString.Search( sPartId );
if ( nContStart != STRING_NOTFOUND )
{
diff --git a/uui/source/secmacrowarnings.cxx b/uui/source/secmacrowarnings.cxx
index be18ad6e932f..463b9a3d7734 100644
--- a/uui/source/secmacrowarnings.cxx
+++ b/uui/source/secmacrowarnings.cxx
@@ -350,7 +350,7 @@ void MacroWarning::SetStorage( const cssu::Reference < css::embed::XStorage >& r
if( mxStore.is() && nCnt > 0 )
{
mpInfos = &rInfos;
- String aCN_Id( String::CreateFromAscii( "CN" ) );
+ rtl::OUString aCN_Id("CN");
String s;
s = GetContentPart( rInfos[ 0 ].Signer->getSubjectName(), aCN_Id );
@@ -370,7 +370,7 @@ void MacroWarning::SetCertificate( const cssu::Reference< css::security::XCertif
mxCert = _rxCert;
if( mxCert.is() )
{
- String aCN_Id( String::CreateFromAscii( "CN" ) );
+ rtl::OUString aCN_Id("CN");
String s;
s = GetContentPart( mxCert->getSubjectName(), aCN_Id );
maSignsFI.SetText( s );