Kaydet (Commit) 944886f6 authored tarafından Winfried Donkers's avatar Winfried Donkers Kaydeden (comit) Eike Rathke

fdo#87534 fix HYPERLINK behaviour when used in names

When using HYPERLINK() in names, the hyperlink was set to disabled
on copying token. After fix, behaviour is consistent.

Note: reducing the fix to 1 line does not work, a set hyperlink
is only to be copied when applicable.

Change-Id: I27ad24ed8912afa548f08d249ad51d18a792c275
Reviewed-on: https://gerrit.libreoffice.org/13920Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
Tested-by: 's avatarEike Rathke <erack@redhat.com>
üst c6b40488
......@@ -1704,6 +1704,8 @@ void FormulaCompiler::PopTokenArray()
else if ( !pArr->IsRecalcModeNormal() && p->pArr->IsRecalcModeNormal() )
p->pArr->SetMaskedRecalcMode( pArr->GetRecalcMode() );
p->pArr->SetCombinedBitsRecalcMode( pArr->GetRecalcMode() );
if ( pArr->IsHyperLink() ) // fdo 87534
p->pArr->SetHyperLink( true );
if( p->bTemp )
delete pArr;
pArr = p->pArr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment