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/view/tabview.cxx | |
parent | 45df4e385910e1006d4bad4f674167c495b75673 (diff) |
Replace DBG_* with OSL_* in sc/source/ui
Diffstat (limited to 'sc/source/ui/view/tabview.cxx')
-rw-r--r-- | sc/source/ui/view/tabview.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx index a00c71b95918..dc95d8d31498 100644 --- a/sc/source/ui/view/tabview.cxx +++ b/sc/source/ui/view/tabview.cxx @@ -990,7 +990,7 @@ double ScTabView::GetPendingRelTabBarWidth() const Window* ScTabView::GetActiveWin() { ScSplitPos ePos = aViewData.GetActivePart(); - DBG_ASSERT(pGridWin[ePos],"kein aktives Fenster"); + OSL_ENSURE(pGridWin[ePos],"kein aktives Fenster"); return pGridWin[ePos]; } @@ -1577,7 +1577,7 @@ void ScTabView::UpdateHeaderWidth( const ScVSplitPos* pWhich, const SCROW* pPosY inline void ShowHide( Window* pWin, sal_Bool bShow ) { - DBG_ASSERT(pWin || !bShow, "Fenster ist nicht da"); + OSL_ENSURE(pWin || !bShow, "Fenster ist nicht da"); if (pWin) pWin->Show(bShow); } @@ -1878,7 +1878,7 @@ Point ScTabView::GetChartInsertPos( const Size& rSize, const ScRange& rCellRange eUsedPart = (WhichH(eUsedPart)==SC_SPLIT_LEFT) ? SC_SPLIT_BOTTOMLEFT : SC_SPLIT_BOTTOMRIGHT; ScGridWindow* pWin = pGridWin[eUsedPart]; - DBG_ASSERT( pWin, "Window not found" ); + OSL_ENSURE( pWin, "Window not found" ); if (pWin) { ActivatePart( eUsedPart ); @@ -1995,7 +1995,7 @@ Point ScTabView::GetChartDialogPos( const Size& rDialogSize, const Rectangle& rL eUsedPart = (WhichH(eUsedPart)==SC_SPLIT_LEFT) ? SC_SPLIT_BOTTOMLEFT : SC_SPLIT_BOTTOMRIGHT; ScGridWindow* pWin = pGridWin[eUsedPart]; - DBG_ASSERT( pWin, "Window not found" ); + OSL_ENSURE( pWin, "Window not found" ); if (pWin) { MapMode aDrawMode = pWin->GetDrawMapMode(); |