diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-02-13 13:13:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-02-13 18:30:31 +0100 |
commit | d512c60080782cc24e8d459c4e500ab0e48dde9b (patch) | |
tree | 27a73793e08b2206c3151390d333a4ae4f51c986 /svx | |
parent | 681dd10bb92185a2b6918ed82ea4c6efb84d74fb (diff) |
ofz#3577 speed up ppt fuzzing
Change-Id: I4291fa609a063d9fd38a561e2dd96bf93ccfcd55
Reviewed-on: https://gerrit.libreoffice.org/49651
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdobj.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx index 2f36f79853fa..2512c4571d0f 100644 --- a/svx/source/svdraw/svdobj.cxx +++ b/svx/source/svdraw/svdobj.cxx @@ -843,7 +843,7 @@ const tools::Rectangle& SdrObject::GetLastBoundRect() const void SdrObject::RecalcBoundRect() { // #i101680# suppress BoundRect calculations on import(s) - if(pModel && pModel->isLocked()) + if ((pModel && pModel->isLocked()) || utl::ConfigManager::IsFuzzing()) return; // central new method which will calculate the BoundRect using primitive geometry @@ -873,7 +873,7 @@ void SdrObject::RecalcBoundRect() void SdrObject::BroadcastObjectChange() const { - if( pModel && pModel->isLocked() ) + if ((pModel && pModel->isLocked()) || utl::ConfigManager::IsFuzzing()) return; if (mbDelayBroadcastObjectChange) |