[Libreoffice-commits] .: basctl/source cui/source
Thorsten Behrens
thorsten at kemper.freedesktop.org
Tue Dec 14 16:52:23 PST 2010
basctl/source/basicide/bastypes.cxx | 2 +-
cui/source/dialogs/iconcdlg.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit d2723c5dbddaa1045cef0b9f47cc33ff535a2844
Author: Thorsten Behrens <tbehrens at novell.com>
Date: Wed Dec 15 01:42:43 2010 +0100
Fix dbgutil build
diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx
index 05699d7..6ca8151 100644
--- a/basctl/source/basicide/bastypes.cxx
+++ b/basctl/source/basicide/bastypes.cxx
@@ -298,7 +298,7 @@ void BreakPointList::InsertSorted( BreakPoint* pNewBrk )
{
if ( pNewBrk->nLine <= (*i)->nLine )
{
- DBG_ASSERT( ( pBrk->nLine != pNewBrk->nLine ) || pNewBrk->bTemp, "BreakPoint existiert schon!" );
+ DBG_ASSERT( ( (*i)->nLine != pNewBrk->nLine ) || pNewBrk->bTemp, "BreakPoint existiert schon!" );
maBreakPoints.insert( i, pNewBrk );
return;
}
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx
index 5d2add4..e68acd7 100644
--- a/cui/source/dialogs/iconcdlg.cxx
+++ b/cui/source/dialogs/iconcdlg.cxx
@@ -874,7 +874,7 @@ IMPL_LINK( IconChoiceDialog, CancelHdl, Button*, EMPTYARG )
void IconChoiceDialog::ActivatePageImpl ()
{
- DBG_ASSERT( maPageList.Count(), "keine Pages angemeldet" );
+ DBG_ASSERT( !maPageList.empty(), "keine Pages angemeldet" );
IconChoicePageData* pData = GetPageData ( mnCurrentPageId );
DBG_ASSERT( pData, "Id nicht bekannt" );
if ( pData )
More information about the Libreoffice-commits
mailing list