diff options
-rw-r--r-- | sc/source/core/data/documen9.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/documen9.cxx b/sc/source/core/data/documen9.cxx index 8a23df160cf5..4fe1a115f7fb 100644 --- a/sc/source/core/data/documen9.cxx +++ b/sc/source/core/data/documen9.cxx @@ -242,7 +242,7 @@ void ScDocument::DeleteDrawLayer() { //UUUU remove DrawingLayer's SfxItemPool from Calc's SfxItemPool where // it is registered as secondary pool - if(xPoolHelper.is()) + if (xPoolHelper.is() && !IsClipOrUndo()) //Using IsClipOrUndo as a proxy for SharePooledResources called { ScDocumentPool* pLocalPool = xPoolHelper->GetDocPool(); |