diff options
author | Jacek Wolszczak <shutdownrunner@gmail.com> | 2011-05-21 15:04:26 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-05-27 06:03:37 +0200 |
commit | 8b569e74d6b671c13a57c5ad72ed360d194b2dda (patch) | |
tree | 3c29b626bd0638fd13cfdfec0be976116de61f91 /sc/source/ui/app/seltrans.cxx | |
parent | 45df4e385910e1006d4bad4f674167c495b75673 (diff) |
Replace DBG_* with OSL_* in sc/source/ui
Diffstat (limited to 'sc/source/ui/app/seltrans.cxx')
-rw-r--r-- | sc/source/ui/app/seltrans.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/app/seltrans.cxx b/sc/source/ui/app/seltrans.cxx index 7e9cbd9621a2..5eb294243165 100644 --- a/sc/source/ui/app/seltrans.cxx +++ b/sc/source/ui/app/seltrans.cxx @@ -64,7 +64,7 @@ sal_Bool lcl_IsURLButton( SdrObject* pObject ) if (pUnoCtrl && FmFormInventor == pUnoCtrl->GetObjInventor()) { uno::Reference<awt::XControlModel> xControlModel = pUnoCtrl->GetUnoControlModel(); - DBG_ASSERT( xControlModel.is(), "uno control without model" ); + OSL_ENSURE( xControlModel.is(), "uno control without model" ); if ( xControlModel.is() ) { uno::Reference< beans::XPropertySet > xPropSet( xControlModel, uno::UNO_QUERY ); @@ -173,7 +173,7 @@ ScSelectionTransferObj::~ScSelectionTransferObj() pScMod->SetSelectionTransfer( NULL ); } - DBG_ASSERT( !pView, "ScSelectionTransferObj dtor: ForgetView not called" ); + OSL_ENSURE( !pView, "ScSelectionTransferObj dtor: ForgetView not called" ); } sal_Bool ScSelectionTransferObj::StillValid() @@ -273,7 +273,7 @@ void ScSelectionTransferObj::AddSupportedFormats() void ScSelectionTransferObj::CreateCellData() { - DBG_ASSERT( !pCellData, "CreateCellData twice" ); + OSL_ENSURE( !pCellData, "CreateCellData twice" ); if ( pView ) { ScViewData* pViewData = pView->GetViewData(); @@ -328,7 +328,7 @@ void ScSelectionTransferObj::CreateCellData() delete pClipDoc; } } - DBG_ASSERT( pCellData, "can't create CellData" ); + OSL_ENSURE( pCellData, "can't create CellData" ); } //! make static member of ScDrawView @@ -336,7 +336,7 @@ extern void lcl_CheckOle( const SdrMarkList& rMarkList, sal_Bool& rAnyOle, sal_B void ScSelectionTransferObj::CreateDrawData() { - DBG_ASSERT( !pDrawData, "CreateDrawData twice" ); + OSL_ENSURE( !pDrawData, "CreateDrawData twice" ); if ( pView ) { // similar to ScDrawView::BeginDrag @@ -380,7 +380,7 @@ void ScSelectionTransferObj::CreateDrawData() pDrawData->acquire(); // keep ref count up - released in ForgetView } } - DBG_ASSERT( pDrawData, "can't create DrawData" ); + OSL_ENSURE( pDrawData, "can't create DrawData" ); } ScTransferObj* ScSelectionTransferObj::GetCellData() |