fdo#46808, GetStorageFromURL now takes an XComponentContext

Change-Id: I300748914c913ecd9d433cb6f549a000717b538d
This commit is contained in:
Noel Grandin
2013-05-17 13:38:22 +02:00
parent ee2e8d77fe
commit dfc49e043b

View File

@@ -284,7 +284,7 @@ IMPL_LINK_NOARG(MyWin, DigitalSignaturesWithServiceHdl)
{
OUString aDocFileName = maEditDOCFileName.GetText();
uno::Reference < embed::XStorage > xStore = ::comphelper::OStorageHelper::GetStorageFromURL(
aDocFileName, embed::ElementModes::READWRITE, comphelper::getProcessServiceFactory() );
aDocFileName, embed::ElementModes::READWRITE, comphelper::getProcessComponentContext() );
uno::Reference< security::XDocumentDigitalSignatures > xD(
security::DocumentDigitalSignatures::createDefault(comphelper::getProcessComponentContext()) );