summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/doc/objstor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index aad386757fb7..6decd9777461 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -380,7 +380,7 @@ void SfxObjectShell::SetupStorage( const uno::Reference< embed::XStorage >& xSto
aEncryptionAlgs[1].Value <<= xml::crypto::CipherID::BLOWFISH_CFB_8;
aEncryptionAlgs[2].Value <<= xml::crypto::DigestID::SHA1_1K;
- if ( nVersion >= SOFFICE_FILEFORMAT_8 )
+ if ( nDefVersion >= SvtSaveOptions::ODFVER_012 )
{
try
{