diff options
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/editeng.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx index 5f45dd1fbf29..20c15e6539e1 100644 --- a/include/editeng/editeng.hxx +++ b/include/editeng/editeng.hxx @@ -209,7 +209,11 @@ public: void SetRefMapMode( const MapMode& rMapMode ); MapMode const & GetRefMapMode() const; - void SetUpdateMode( bool bUpdate ); + /// Change the update mode per bUpdate and potentially trigger FormatAndUpdate. + /// bRestoring is used for LOK to update cursor visibility, specifically, + /// when true, it means we are restoring the update mode after internally + /// disabling it (f.e. during SetText to set/delete default text in Impress). + void SetUpdateMode(bool bUpdate, bool bRestoring = false); bool GetUpdateMode() const; void SetBackgroundColor( const Color& rColor ); |