diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-03-28 17:39:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-03-28 21:17:55 +0200 |
commit | bda744fb532c9d7a76c8bc08fda0f0aa6feec471 (patch) | |
tree | 50feca7dc2605a01c56c4e883adb62870dae770a /xmlsecurity/qa | |
parent | 0ff64e31b0c74b9b1e78a1d5ddd7be4302f33df3 (diff) |
No need to open this test doc read/write
...fail when SRCDIR is a read-only tree
Change-Id: I80a372b3eb71faed1215305a55df93390c846eed
Reviewed-on: https://gerrit.libreoffice.org/52020
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmlsecurity/qa')
-rw-r--r-- | xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx b/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx index e0f0698703b8..ddfd19f37a26 100644 --- a/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx +++ b/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx @@ -514,8 +514,7 @@ void PDFSigningTest::testUnknownSubFilter() uno::Reference<xml::crypto::XXMLSecurityContext> xSecurityContext = xSEInitializer->createSecurityContext(OUString()); SvStream* pStream = utl::UcbStreamHelper::CreateStream( - m_directories.getURLFromSrc(DATA_DIRECTORY) + "cr-comment.pdf", - StreamMode::READ | StreamMode::WRITE); + m_directories.getURLFromSrc(DATA_DIRECTORY) + "cr-comment.pdf", StreamMode::STD_READ); uno::Reference<io::XStream> xStream(new utl::OStreamWrapper(*pStream)); DocumentSignatureManager aManager(mxComponentContext, DocumentSignatureMode::Content); aManager.mxSignatureStream = xStream; |