This is an automated email from the ASF dual-hosted git repository. damjan pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push: new dc7ddb711f 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. dc7ddb711f is described below commit dc7ddb711f16837106137e3e2a512e9200048da7 Author: Damjan Jovanovic <dam...@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 --- 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)