From 1e451bb6d12677beece573512f5af700c282b25e Mon Sep 17 00:00:00 2001 From: Pranav Kant Date: Wed, 26 Apr 2017 17:57:55 +0530 Subject: sc lok: Do not change comment indicator setting This setting is saved to doc model when document is saved eventually. We should respect the user settings, and not play with it like this - changing this setting to false unconditionally. Originally, setting SetNotesMode to false was meant to prevent any kind of in-tile note rendering in case of LOK when it is turned off. But turns out this option is only for note indicator i.e the red button. We already have a LOK in-tile rendering guard in ScDocFunc::ShowNote that prevents popping drawinglayer note even if corresponding UNO command is sent by the LOK client. Change-Id: Id6c7b2cd30cdbefe7dacc2a701638b2488ab245d --- sc/source/ui/unoobj/docuno.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sc') diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index c35c98f2fee6..d44110def97e 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -1050,10 +1050,6 @@ void ScModelObj::initializeForTiledRendering(const css::uno::SequenceSetNotesMode(false); - // default tile size in pixels mnTilePixelWidth = 256; mnTilePixelHeight = 256; -- cgit