summaryrefslogtreecommitdiff
path: root/sc/source/ui/navipi/navcitem.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/navipi/navcitem.cxx
parent45df4e385910e1006d4bad4f674167c495b75673 (diff)
Replace DBG_* with OSL_* in sc/source/ui
Diffstat (limited to 'sc/source/ui/navipi/navcitem.cxx')
-rw-r--r--sc/source/ui/navipi/navcitem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/navipi/navcitem.cxx b/sc/source/ui/navipi/navcitem.cxx
index 3d30ddb74d94..8e5398bb059d 100644
--- a/sc/source/ui/navipi/navcitem.cxx
+++ b/sc/source/ui/navipi/navcitem.cxx
@@ -66,7 +66,7 @@ void ScNavigatorControllerItem::StateChanged( sal_uInt16 /* nSID */, SfxItemStat
{
const SfxStringItem* pCellPosItem = PTR_CAST(SfxStringItem, pItem);
- DBG_ASSERT( pCellPosItem, "SfxStringItem expected!" );
+ OSL_ENSURE( pCellPosItem, "SfxStringItem expected!" );
if ( pCellPosItem )
{
@@ -89,7 +89,7 @@ void ScNavigatorControllerItem::StateChanged( sal_uInt16 /* nSID */, SfxItemStat
{
const SfxUInt16Item* pTabItem = PTR_CAST(SfxUInt16Item, pItem);
- DBG_ASSERT( pTabItem, "SfxUInt16Item expected!" );
+ OSL_ENSURE( pTabItem, "SfxUInt16Item expected!" );
// Tabelle fuer Basic ist 1-basiert
if ( pTabItem && pTabItem->GetValue() )