This is an automated email from the ASF dual-hosted git repository.

jimjag pushed a commit to branch odf13-devel
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit 5acbff5631472b452838ebee37f323cb936d6f2e
Author: Jim Jagielski <[email protected]>
AuthorDate: Fri Oct 30 09:56:26 2026 -0400

    sfx2: show the newer-version prompt only for documents above ODF 1.3
---
 main/sfx2/source/doc/objstor.cxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main/sfx2/source/doc/objstor.cxx b/main/sfx2/source/doc/objstor.cxx
index a98dbc9dd1..8b40be38b8 100644
--- a/main/sfx2/source/doc/objstor.cxx
+++ b/main/sfx2/source/doc/objstor.cxx
@@ -857,8 +857,8 @@ sal_Bool SfxObjectShell::DoLoad( SfxMedium *pMed )
                 if ( sVersion.getLength() )
                 {
                     double nVersion = sVersion.toDouble();
-                    if ( nVersion > 1.20001  && 
SfxObjectShell_Impl::NeedsOfficeUpdateDialog() )
-                        // ODF version greater than 1.2 - added some decimal 
places to be safe against floating point conversion errors (hack)
+                    if ( nVersion > 1.30001  && 
SfxObjectShell_Impl::NeedsOfficeUpdateDialog() )
+                        // ODF version greater than 1.3 - added some decimal 
places to be safe against floating point conversion errors (hack)
                     {
                         ::rtl::OUString sDocumentURL( pMedium->GetOrigURL() );
                         ::rtl::OUString aSystemFileURL;

Reply via email to