diff options
author | Jacek Wolszczak <shutdownrunner@gmail.com> | 2010-10-24 23:48:32 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2010-10-24 23:48:32 +0200 |
commit | 77bd3d37dd1027e8b8d67c973abb748e777ab6d1 (patch) | |
tree | 0ce1764db571b2448560234b04f3d46640610d4d /sw/source/ui/uiview/viewling.cxx | |
parent | 88b663b7317ef1c6239c9e5ca52b1a9ec14f1993 (diff) |
DBG_* -> OSL_ENSURE cleanup, few German -> English translations.
Diffstat (limited to 'sw/source/ui/uiview/viewling.cxx')
-rw-r--r-- | sw/source/ui/uiview/viewling.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/uiview/viewling.cxx b/sw/source/ui/uiview/viewling.cxx index 0893f2e7770d..2c7d68b921b8 100644 --- a/sw/source/ui/uiview/viewling.cxx +++ b/sw/source/ui/uiview/viewling.cxx @@ -209,7 +209,7 @@ void SwView::ExecLingu(SfxRequest &rReq) { SwTxtNode *pTxtNode = aPointNodeIndex.GetNode().GetTxtNode(); // check for unexpected error case - DBG_ASSERT( pTxtNode && pTxtNode->GetTxt().Len() >= nPointIndex, + OSL_ENSURE( pTxtNode && pTxtNode->GetTxt().Len() >= nPointIndex, "text missing: corrupted node?" ); if (!pTxtNode || pTxtNode->GetTxt().Len() < nPointIndex) nPointIndex = 0; @@ -232,7 +232,7 @@ void SwView::ExecLingu(SfxRequest &rReq) HyphenateDocument(); break; default: - ASSERT(!this, falscher Dispatcher); + OSL_ENSURE(!this, "wrong Dispatcher"); return; } } @@ -339,7 +339,7 @@ void SwView::SpellStart( SvxSpellArea eWhich, } break; default: - ASSERT( !this, "SpellStart with unknown Area" ); + OSL_ENSURE( !this, "SpellStart with unknown Area" ); } pWrtShell->SpellStart( eStart, eEnde, eCurr, pConvArgs ); } @@ -434,7 +434,7 @@ void SwView::HyphStart( SvxSpellArea eWhich ) pWrtShell->HyphStart( DOCPOS_OTHERSTART, DOCPOS_OTHEREND ); break; default: - ASSERT( !this, "HyphStart with unknown Area" ); + OSL_ENSURE( !this, "HyphStart with unknown Area" ); } } @@ -715,7 +715,7 @@ sal_Bool SwView::ExecSpellPopup(const Point& rPt) aParaText = pNode->GetTxt(); // this may include hidden text but that should be Ok else { - DBG_ERROR( "text node expected but not found" ); + OSL_ENSURE(false, "text node expected but not found" ); } bRet = sal_True; |