Kaydet (Commit) 8c2301bf authored tarafından Michael Stahl's avatar Michael Stahl

sc: remove debugging printf

Change-Id: I1b403d8ae081347d756145e52539445e067efa91
üst 65facd8c
...@@ -147,6 +147,7 @@ void ScDocument::InitDrawLayer( SfxObjectShell* pDocShell ) ...@@ -147,6 +147,7 @@ void ScDocument::InitDrawLayer( SfxObjectShell* pDocShell )
{ {
OSL_ENSURE(!pLocalPool->GetSecondaryPool(), "OOps, already a secondary pool set where the DrawingLayer ItemPool is to be placed (!)"); OSL_ENSURE(!pLocalPool->GetSecondaryPool(), "OOps, already a secondary pool set where the DrawingLayer ItemPool is to be placed (!)");
#if 0 #if 0
// FIXME apparently this is disabled because it breaks tests
pLocalPool->SetSecondaryPool(&pDrawLayer->GetItemPool()); pLocalPool->SetSecondaryPool(&pDrawLayer->GetItemPool());
#endif #endif
} }
...@@ -251,8 +252,8 @@ void ScDocument::DeleteDrawLayer() ...@@ -251,8 +252,8 @@ void ScDocument::DeleteDrawLayer()
if(pLocalPool && pLocalPool->GetSecondaryPool()) if(pLocalPool && pLocalPool->GetSecondaryPool())
{ {
fprintf(stderr, "RET is %p\n", pLocalPool->GetSecondaryPool());
#if 0 #if 0
// FIXME apparently this is disabled because it breaks tests
pLocalPool->SetSecondaryPool(0); pLocalPool->SetSecondaryPool(0);
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment