fix String->OUString conversion

Change-Id: I65d9cda603aa95f36df57494195b159f9d2619ac
This commit is contained in:
Ivan Timofeev 2012-10-01 20:58:03 +04:00
parent fa61423173
commit 6fe5360e0b

View file

@ -171,9 +171,9 @@ CertificateViewerGeneralTP::CertificateViewerGeneralTP( Window* _pParent, Certif
utl::typeConvert( xCert->getNotValidBefore(), aDateTimeStart );
utl::typeConvert( xCert->getNotValidAfter(), aDateTimeEnd );
OUString sText = maValidDateFI.GetText();
sText.replaceFirst( "%SDATE%",
sText = sText.replaceFirst( "%SDATE%",
GetSettings().GetUILocaleDataWrapper().getDate( aDateTimeStart.GetDate() ) );
sText.replaceFirst( "%EDATE%",
sText = sText.replaceFirst( "%EDATE%",
GetSettings().GetUILocaleDataWrapper().getDate( aDateTimeEnd.GetDate() ) );
maValidDateFI.SetText( sText );