summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorMichael Mi <mmi@openoffice.org>2004-07-23 02:37:00 +0000
committerMichael Mi <mmi@openoffice.org>2004-07-23 02:37:00 +0000
commit010915ede42559b26dc2fdaf64b8f0d5b77cc85c (patch)
tree1849bc3505ae35b2e0c651c70443ff567f263608 /xmlsecurity
parentf7a7f2b0e923125dc63cec4c476e2d02537a22f3 (diff)
mozilla registry.dat parsing
Issue number: Submitted by: Reviewed by:
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx
index 0dfe8206a562..9ea61e3a984d 100644
--- a/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx
+++ b/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: seinitializer_nssimpl.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: mmi $ $Date: 2004-07-23 03:00:42 $
+ * last change: $Author: mmi $ $Date: 2004-07-23 03:37:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -234,11 +234,14 @@ cssu::Reference< cssxc::XXMLSecurityContext > SAL_CALL
}
else
{
- if (!getMozillaCurrentProfile((rtl::OUString&)sCertDir))
+ rtl::OUString ouCertDir;
+ if (!getMozillaCurrentProfile(ouCertDir))
{
return NULL;
}
+ sCertDir = rtl::OString(ouCertDir, ouCertDir.getLength(), RTL_TEXTENCODING_ASCII_US);
+
/*
char *pCurrentProfilePath = getCurrentProfilePath();