summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/qa/unit/signing/signing.cxx10
-rw-r--r--xmlsecurity/source/component/documentdigitalsignatures.cxx2
2 files changed, 6 insertions, 6 deletions
diff --git a/xmlsecurity/qa/unit/signing/signing.cxx b/xmlsecurity/qa/unit/signing/signing.cxx
index 5952baf60974..d25b87fdd7f3 100644
--- a/xmlsecurity/qa/unit/signing/signing.cxx
+++ b/xmlsecurity/qa/unit/signing/signing.cxx
@@ -1125,14 +1125,14 @@ CPPUNIT_TEST_FIXTURE(SigningTest, testPreserveMacroTemplateSignature12_ODF)
// the loaded document is a OTT with a valid macro signature
assertDocument(CPPUNIT_SOURCELINE(), "writer8_template", SignatureState::NOSIGNATURES,
- SignatureState::OK, ODFVER_012_TEXT);
+ SignatureState::OK, ODFVER_013_TEXT);
// load saved ODT document
createDoc(aTempFileSaveAsODT.GetURL());
// the loaded document is a ODT with a macro signature
assertDocument(CPPUNIT_SOURCELINE(), "writer8", SignatureState::NOSIGNATURES,
- SignatureState::OK, ODFVER_012_TEXT);
+ SignatureState::OK, ODFVER_013_TEXT);
// save as new OTT template
utl::TempFile aTempFileSaveAsODT_OTT;
@@ -1159,7 +1159,7 @@ CPPUNIT_TEST_FIXTURE(SigningTest, testPreserveMacroTemplateSignature12_ODF)
// the loaded document is a OTT with a valid macro signature
assertDocument(CPPUNIT_SOURCELINE(), "writer8_template", SignatureState::NOSIGNATURES,
- SignatureState::OK, ODFVER_012_TEXT);
+ SignatureState::OK, ODFVER_013_TEXT);
}
/// Test if a macro signature from an OTT 1.0 is dropped for ODT 1.2
@@ -1215,7 +1215,7 @@ CPPUNIT_TEST_FIXTURE(SigningTest, testDropMacroTemplateSignature)
// the loaded document is a 1.2 ODT without any signatures
assertDocument(CPPUNIT_SOURCELINE(), "writer8", SignatureState::NOSIGNATURES,
- SignatureState::NOSIGNATURES, ODFVER_012_TEXT);
+ SignatureState::NOSIGNATURES, ODFVER_013_TEXT);
// load the template as-is to validate signatures
mxComponent->dispose();
@@ -1253,7 +1253,7 @@ CPPUNIT_TEST_FIXTURE(SigningTest, testDropMacroTemplateSignature)
// the loaded document is a 1.2 OTT without any signatures
assertDocument(CPPUNIT_SOURCELINE(), "writer8_template", SignatureState::NOSIGNATURES,
- SignatureState::NOSIGNATURES, ODFVER_012_TEXT);
+ SignatureState::NOSIGNATURES, ODFVER_013_TEXT);
}
class Resetter
diff --git a/xmlsecurity/source/component/documentdigitalsignatures.cxx b/xmlsecurity/source/component/documentdigitalsignatures.cxx
index 801b44c1bade..2cd338cdc3e2 100644
--- a/xmlsecurity/source/component/documentdigitalsignatures.cxx
+++ b/xmlsecurity/source/component/documentdigitalsignatures.cxx
@@ -218,7 +218,7 @@ public:
DocumentDigitalSignatures::DocumentDigitalSignatures( const Reference< XComponentContext >& rxCtx ):
mxCtx(rxCtx),
- m_sODFVersion(ODFVER_012_TEXT),
+ m_sODFVersion(ODFVER_013_TEXT),
m_nArgumentsCount(0),
m_bHasDocumentSignature(false)
{