summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undodat.cxx
diff options
context:
space:
mode:
authorJacek Wolszczak <shutdownrunner@gmail.com>2011-05-21 15:04:26 +0200
committerDavid Tardon <dtardon@redhat.com>2011-05-27 06:03:37 +0200
commit8b569e74d6b671c13a57c5ad72ed360d194b2dda (patch)
tree3c29b626bd0638fd13cfdfec0be976116de61f91 /sc/source/ui/undo/undodat.cxx
parent45df4e385910e1006d4bad4f674167c495b75673 (diff)
Replace DBG_* with OSL_* in sc/source/ui
Diffstat (limited to 'sc/source/ui/undo/undodat.cxx')
-rw-r--r--sc/source/ui/undo/undodat.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/undo/undodat.cxx b/sc/source/ui/undo/undodat.cxx
index e7f15d9b7fed..9295418a2f38 100644
--- a/sc/source/ui/undo/undodat.cxx
+++ b/sc/source/ui/undo/undodat.cxx
@@ -1702,7 +1702,7 @@ void ScUndoDataPilot::Undo()
ScDPObject* pDocObj = pDoc->GetDPAtCursor(
aNewRange.aStart.Col(), aNewRange.aStart.Row(), aNewRange.aStart.Tab() );
- DBG_ASSERT(pDocObj, "DPObject not found");
+ OSL_ENSURE(pDocObj, "DPObject not found");
if (pDocObj)
{
if ( pOldDPObject )
@@ -1774,7 +1774,7 @@ void ScUndoDataPilot::Redo()
ScRange aOldRange = pOldDPObject->GetOutRange();
pSourceObj = pDoc->GetDPAtCursor(
aOldRange.aStart.Col(), aOldRange.aStart.Row(), aOldRange.aStart.Tab() );
- DBG_ASSERT(pSourceObj, "DPObject not found");
+ OSL_ENSURE(pSourceObj, "DPObject not found");
}
ScDBDocFunc aFunc( *pDocShell );