diff options
author | Mikhail Voytenko <mav@openoffice.org> | 2011-03-27 19:31:20 +0200 |
---|---|---|
committer | Mikhail Voytenko <mav@openoffice.org> | 2011-03-27 19:31:20 +0200 |
commit | f8691415aee65ddac28bd993bd4f6d0882685dad (patch) | |
tree | c03ea02d6348595fc0d59f5aad9ecb4e6f4fe786 /comphelper | |
parent | mav60: fix rebase problems (diff) | |
download | core-f8691415aee65ddac28bd993bd4f6d0882685dad.tar.gz core-f8691415aee65ddac28bd993bd4f6d0882685dad.zip |
mav60: #164341# fix typo
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/storagehelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/storagehelper.cxx b/comphelper/source/misc/storagehelper.cxx index 0a4cddc6d066..b6d46f3d291d 100644 --- a/comphelper/source/misc/storagehelper.cxx +++ b/comphelper/source/misc/storagehelper.cxx @@ -439,7 +439,7 @@ uno::Sequence< beans::NamedValue > OStorageHelper::CreatePackageEncryptionData( if ( !xFactory.is() ) throw uno::RuntimeException(); - uno::Reference< xml::crypto::XDigestContextSupplier > xDigestContextSupplier( xFactory->createInstance( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.xml.crypto.SEInitializer" ) ) ), uno::UNO_QUERY_THROW ); + uno::Reference< xml::crypto::XDigestContextSupplier > xDigestContextSupplier( xFactory->createInstance( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.xml.crypto.NSSInitializer" ) ) ), uno::UNO_QUERY_THROW ); uno::Reference< xml::crypto::XDigestContext > xDigestContext( xDigestContextSupplier->getDigestContext( xml::crypto::DigestID::SHA256, uno::Sequence< beans::NamedValue >() ), uno::UNO_SET_THROW ); ::rtl::OString aUTF8Password( ::rtl::OUStringToOString( aPassword, RTL_TEXTENCODING_UTF8 ) ); |