summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewdata.cxx
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2023-05-19 15:22:59 -0400
committerHenry Castro <hcastro@collabora.com>2023-06-13 00:09:09 +0200
commitd4ee93a54e790acab470667591d61d424831e665 (patch)
tree47e393666e35ed4d1d8912450d1323d1ea0f56f3 /sc/source/ui/view/viewdata.cxx
parent44362e588686e33ff60ddcb6c1cd0c6082073fb0 (diff)
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 <hcastro@collabora.com> Change-Id: I05b1a2ef63602a7bf34f717b87c304d00a8c8efc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152019 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152135 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152938 Tested-by: Jenkins
Diffstat (limited to 'sc/source/ui/view/viewdata.cxx')
-rw-r--r--sc/source/ui/view/viewdata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index a69ed16d4d5a..f9ad7cae805c 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -3927,7 +3927,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
{