fix String->OUString conversion
Change-Id: I65d9cda603aa95f36df57494195b159f9d2619ac
This commit is contained in:
parent
fa61423173
commit
6fe5360e0b
1 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue