diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-10-01 20:58:03 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-10-01 20:59:50 +0400 |
commit | 6fe5360e0b8876c5e7a5d1465e7772a1d84f4065 (patch) | |
tree | e43de4193a3f8b0cdef7ed8ffb555cf9c76cdc06 /xmlsecurity | |
parent | fa614231733800f4a961b77e36c86f8840d12251 (diff) |
fix String->OUString conversion
Change-Id: I65d9cda603aa95f36df57494195b159f9d2619ac
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/dialogs/certificateviewer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/source/dialogs/certificateviewer.cxx b/xmlsecurity/source/dialogs/certificateviewer.cxx index b75e37e96c5a..27e0cbcba048 100644 --- a/xmlsecurity/source/dialogs/certificateviewer.cxx +++ b/xmlsecurity/source/dialogs/certificateviewer.cxx @@ -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 ); |