diff options
author | Eike Rathke <erack@redhat.com> | 2016-12-15 21:34:17 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-12-16 02:37:59 +0100 |
commit | b954f1427a9549d89d8b0800259af9374b4767df (patch) | |
tree | 8c8934df3228393e11f8b4b017a7885924bfb55b /sc | |
parent | ba53b2d28274ad4e36ef57084b48c4ed73d15e63 (diff) |
prevent mutiple broadcasts during the series of changes on one drawing object
Change-Id: I3a26d3589cbbcb8359242f7e1709fa7c34bd2900
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/drwlayer.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx index f2e93dddb999..1deb958039de 100644 --- a/sc/source/core/data/drwlayer.cxx +++ b/sc/source/core/data/drwlayer.cxx @@ -821,6 +821,9 @@ void ScDrawLayer::RecalcPos( SdrObject* pObj, ScDrawObjData& rData, bool bNegati } else { + // Prevent mutiple broadcasts during the series of changes. + SdrDelayBroadcastObjectChange aDelayBroadcastObjectChange(*pObj); + bool bCanResize = bValid2 && !pObj->IsResizeProtect(); //First time positioning, must be able to at least move it |