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

New commits:
commit 2704871015233d632ccad8b6472ca52434f2ec1e
Author:     Henry Castro <hcas...@collabora.com>
AuthorDate: Fri May 19 15:22:59 2023 -0400
Commit:     Szymon Kłos <szymon.k...@collabora.com>
CommitDate: Mon May 22 08:59:40 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>

diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index d55cd50c1384..9514c9cc7d12 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -3920,7 +3920,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.compareToAscii( SC_UNO_VALUEHIGH ) == 0 )
+        else if ( sName.compareToAscii( SC_UNO_VALUEHIGH ) == 0 && 
!comphelper::LibreOfficeKit::isActive())
             maOptions.SetOption(VOPT_SYNTAX, 
ScUnoHelpFunctions::GetBoolFromAny(rSetting.Value));
         else
         {

Reply via email to