Kaydet (Commit) 54564a8e authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS xmlsec08 (1.5.2); FILE MERGED

2005/02/06 09:32:47 mmi 1.5.2.3: chinese font displayed.
Issue number:  41071
Submitted by:
Reviewed by:
2005/01/27 05:17:47 mmi 1.5.2.2:
Issue number:  i41071
Submitted by:
Reviewed by:
2005/01/27 04:46:30 mmi 1.5.2.1: chinese font displayed  as squares
Issue number:  41071
Submitted by:
Reviewed by:
üst b05a3a4a
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: x509certificate_nssimpl.cxx,v $ * $RCSfile: x509certificate_nssimpl.cxx,v $
* *
* $Revision: 1.5 $ * $Revision: 1.6 $
* *
* last change: $Author: kz $ $Date: 2005-01-18 14:35:23 $ * last change: $Author: vg $ $Date: 2005-03-10 18:13:21 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -85,7 +85,6 @@ ...@@ -85,7 +85,6 @@
#include "pk11func.h" #include "pk11func.h"
//MM : end //MM : end
using namespace ::com::sun::star::uno ; using namespace ::com::sun::star::uno ;
using namespace ::com::sun::star::security ; using namespace ::com::sun::star::security ;
using ::rtl::OUString ; using ::rtl::OUString ;
...@@ -130,7 +129,7 @@ sal_Int16 SAL_CALL X509Certificate_NssImpl :: getVersion() throw ( ::com::sun::s ...@@ -130,7 +129,7 @@ sal_Int16 SAL_CALL X509Certificate_NssImpl :: getVersion() throw ( ::com::sun::s
::rtl::OUString SAL_CALL X509Certificate_NssImpl :: getIssuerName() throw ( ::com::sun::star::uno::RuntimeException) { ::rtl::OUString SAL_CALL X509Certificate_NssImpl :: getIssuerName() throw ( ::com::sun::star::uno::RuntimeException) {
if( m_pCert != NULL ) { if( m_pCert != NULL ) {
return OUString::createFromAscii( m_pCert->issuerName ) ; return OUString(m_pCert->issuerName , PL_strlen(m_pCert->issuerName) , RTL_TEXTENCODING_UTF8) ;
} else { } else {
return OUString() ; return OUString() ;
} }
...@@ -138,7 +137,7 @@ sal_Int16 SAL_CALL X509Certificate_NssImpl :: getVersion() throw ( ::com::sun::s ...@@ -138,7 +137,7 @@ sal_Int16 SAL_CALL X509Certificate_NssImpl :: getVersion() throw ( ::com::sun::s
::rtl::OUString SAL_CALL X509Certificate_NssImpl :: getSubjectName() throw ( ::com::sun::star::uno::RuntimeException) { ::rtl::OUString SAL_CALL X509Certificate_NssImpl :: getSubjectName() throw ( ::com::sun::star::uno::RuntimeException) {
if( m_pCert != NULL ) { if( m_pCert != NULL ) {
return OUString::createFromAscii( m_pCert->subjectName ) ; return OUString(m_pCert->subjectName , PL_strlen(m_pCert->subjectName) , RTL_TEXTENCODING_UTF8);
} else { } else {
return OUString() ; return OUString() ;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment