diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-08-19 11:10:43 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-08-19 10:38:02 +0000 |
commit | 8b4705e0e0c76503b1ca61cb567d222f49466fc5 (patch) | |
tree | 7472d23e8580a3afb17b2ba19f234daa2c0f2ad0 /include/sfx2 | |
parent | cf31f48acca45396588aa410ddbe613b92f9fbce (diff) |
sw: remove never read SwViewShell::mbInLibreOfficeKitCallback
This was read in the now removed SwViewShell::libreOfficeKitCallback(),
so add a similar flag to SfxViewShell instead, and restore the lost
condition.
This fixes paint/invalidation loops when inserting the first comment to
a Writer document in gtktiledviewer.
Change-Id: Iad5ef90848f3b309ef8db4553760dd36d9b8a37c
Reviewed-on: https://gerrit.libreoffice.org/28236
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/viewsh.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx index b4b38042164c..d20d4e35de55 100644 --- a/include/sfx2/viewsh.hxx +++ b/include/sfx2/viewsh.hxx @@ -331,6 +331,10 @@ public: void setTiledSearching(bool bTiledSearching); /// Are we doing tiled searching? bool isTiledSearching() const; + /// Set if we are doing tiled painting. + void setTiledPainting(bool bTiledPainting); + /// Are we doing tiled painting? + bool isTiledPainting() const; /// See lok::Document::getPart(). virtual int getPart() const; virtual void dumpAsXml(struct _xmlTextWriter* pWriter) const; |