summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/undo/undotab.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/undo/undotab.cxx')
-rw-r--r--sc/source/ui/undo/undotab.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/undo/undotab.cxx b/sc/source/ui/undo/undotab.cxx
index 97f2549711e1..d5264317c86d 100644
--- a/sc/source/ui/undo/undotab.cxx
+++ b/sc/source/ui/undo/undotab.cxx
@@ -1138,7 +1138,7 @@ ScUndoRemoveLink::ScUndoRemoveLink( ScDocShell* pShell, const String& rDoc ) :
}
else
{
- DBG_ASSERT(aFltName == pDoc->GetLinkFlt(i) &&
+ OSL_ENSURE(aFltName == pDoc->GetLinkFlt(i) &&
aOptions == pDoc->GetLinkOpt(i),
"verschiedene Filter fuer ein Dokument?");
}
@@ -1571,7 +1571,7 @@ SdrObject* ScUndoRenameObject::GetObject()
for (sal_uInt16 nTab=0; nTab<nCount; nTab++)
{
SdrPage* pPage = pDrawLayer->GetPage(nTab);
- DBG_ASSERT(pPage,"Page ?");
+ OSL_ENSURE(pPage,"Page ?");
SdrObjListIter aIter( *pPage, IM_DEEPNOGROUPS );
SdrObject* pObject = aIter.Next();