diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2018-11-22 12:48:17 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2018-11-22 19:09:12 +0100 |
commit | f19dfaf817556ba28d68c000f3561a2752635727 (patch) | |
tree | fd0ba99fd5b0649f5359cf8ac39ced6a39b285c7 /sw/inc | |
parent | fbc95e77d28f8a5a8f6442a64e5e0e52e98612c2 (diff) |
Avoid busy-loop related to layout when dragging objects.
Change-Id: I4fb437356bc154cfefc5958592ae5888e24d59c3
Reviewed-on: https://gerrit.libreoffice.org/63804
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/viewsh.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx index bf09c8118590..66382ecc216c 100644 --- a/sw/inc/viewsh.hxx +++ b/sw/inc/viewsh.hxx @@ -467,6 +467,9 @@ public: bool HasDrawView() const; void MakeDrawView(); + // Are we dragging draw shapes around. + bool HasDrawViewDrag() const; + // DrawView may be used at UI. SdrView *GetDrawView(); const SdrView *GetDrawView() const { return const_cast<SwViewShell*>(this)->GetDrawView(); } |