sc/source/ui/view/viewdata.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4864bc29dade0c3eedd3192476e7c206dc4eedff
Author:     Henry Castro <hcas...@collabora.com>
AuthorDate: Fri May 19 15:22:59 2023 -0400
Commit:     Henry Castro <hcas...@collabora.com>
CommitDate: Mon May 22 23:49:48 2023 +0200

    lok: sc: disable Value Highlighting
    
    If the document is saved with the option:
    
    View - Value Highlighting
    
    The online client side does not have implemented yet, otherwise
    will not paint the cell background.
    
    Signed-off-by: Henry Castro <hcas...@collabora.com>
    Change-Id: I05b1a2ef63602a7bf34f717b87c304d00a8c8efc
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152019
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152135

diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index 29161ac7e01b..8970606face0 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -3944,7 +3944,7 @@ void ScViewData::ReadUserDataSequence(const uno::Sequence 
<beans::PropertyValue>
             if ( rSetting.Value >>= nTemp16 )
                 maOptions.SetObjMode(VOBJ_TYPE_DRAW, (nTemp16 == 1) ? 
VOBJ_MODE_HIDE : VOBJ_MODE_SHOW);
         }
-        else if ( sName == SC_UNO_VALUEHIGH )
+        else if ( sName == SC_UNO_VALUEHIGH && 
!comphelper::LibreOfficeKit::isActive() )
             maOptions.SetOption(VOPT_SYNTAX, 
ScUnoHelpFunctions::GetBoolFromAny(rSetting.Value));
         else
         {

Reply via email to