And yet another .getStr()-style fix

This commit is contained in:
Fridrich Štrba
2011-10-06 14:53:47 +02:00
parent c9991493da
commit 4cd6e07a84

View File

@@ -67,7 +67,7 @@ cssu::Reference< cssxc::XXMLSecurityContext > SAL_CALL
//Initialize the crypto engine
if( sCertDB.getLength() > 0 )
{
rtl::OString sCertDir(sCertDB, sCertDB.getLength(), RTL_TEXTENCODING_ASCII_US);
rtl::OString sCertDir(sCertDB.getStr(), sCertDB.getLength(), RTL_TEXTENCODING_ASCII_US);
n_pCertStore = sCertDir.getStr();
n_hStoreHandle = CertOpenSystemStore( NULL, n_pCertStore ) ;
if( n_hStoreHandle == NULL )