You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by da...@apache.org on 2023/10/08 16:58:19 UTC

[openoffice] branch AOO42X updated: The bUserAllowsLinkUpdate variable was erroneously changed to false in commit eab2447c44324e4faff5275517dba43fafb93341, causing formulas inserted without linking to the file to not display until double-clicked on. Change that variable to true like it always was in the AOO41X branch.

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

damjan pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
     new 405ea29d30 The bUserAllowsLinkUpdate variable was erroneously changed to false in commit eab2447c44324e4faff5275517dba43fafb93341, causing formulas inserted without linking to the file to not display until double-clicked on. Change that variable to true like it always was in the AOO41X branch.
405ea29d30 is described below

commit 405ea29d30eefeab1cbcdbada03548845d83dbca
Author: Damjan Jovanovic <da...@apache.org>
AuthorDate: Sun Oct 8 18:51:45 2023 +0200

    The bUserAllowsLinkUpdate variable was erroneously changed to false
    in commit eab2447c44324e4faff5275517dba43fafb93341, causing formulas inserted
    without linking to the file to not display until double-clicked on.
    Change that variable to true like it always was in the AOO41X branch.
    
    Patch by: me
    Found by: Pedro Lino
    
    (cherry picked from commit dc7ddb711f16837106137e3e2a512e9200048da7)
---
 main/svtools/source/misc/embedhlp.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/svtools/source/misc/embedhlp.cxx b/main/svtools/source/misc/embedhlp.cxx
index c82a8f9fa8..c08bb364ba 100644
--- a/main/svtools/source/misc/embedhlp.cxx
+++ b/main/svtools/source/misc/embedhlp.cxx
@@ -709,7 +709,7 @@ SvStream* EmbeddedObjectRef::GetGraphicStream( sal_Bool bUpdate ) const
     if ( !xStream.is() )
     {
 		RTL_LOGFILE_CONTEXT_TRACE( aLog, "getting stream from object" );
-        bool bUserAllowsLinkUpdate(false);
+        bool bUserAllowsLinkUpdate(true);
         const comphelper::EmbeddedObjectContainer* pContainer = GetContainer();
 
         if(pContainer)