From bf70a33a7ad4667bdf073da443134ce36be44273 Mon Sep 17 00:00:00 2001 From: Carsten Driesner Date: Fri, 21 Jan 2011 13:06:20 +0100 Subject: removetooltypes01: #i112600# Fix build problems on non-pro --- soldep/source/depper.cxx | 10 +++++----- soldep/source/objwin.cxx | 2 +- soldep/source/soldep.cxx | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'soldep') diff --git a/soldep/source/depper.cxx b/soldep/source/depper.cxx index 740558cde9a3..d34a93222a3f 100644 --- a/soldep/source/depper.cxx +++ b/soldep/source/depper.cxx @@ -152,7 +152,7 @@ void Depper::RemoveAllObjects( ObjectList* pObjLst ) sal_uInt16 Depper::Save( const ByteString& rFileName ) { - DBG_ASSERT( FALSE , "you are dead!" ); + DBG_ASSERT( sal_False , "you are dead!" ); SvFileStream aOutFile( String( rFileName, RTL_TEXTENCODING_UTF8 ), STREAM_WRITE ); depper_head dh; sal_uInt16 i; @@ -183,19 +183,19 @@ sal_uInt16 Depper::Save( const ByteString& rFileName ) sal_uInt16 Depper::WriteSource() { - DBG_ASSERT( FALSE , "overload it!" ); + DBG_ASSERT( sal_False , "overload it!" ); return 0; }; sal_uInt16 Depper::ReadSource( sal_Bool bUpdater ) { - DBG_ASSERT( FALSE , "overload it!" ); + DBG_ASSERT( sal_False , "overload it!" ); return 0; }; sal_uInt16 Depper::OpenSource() { - DBG_ASSERT( FALSE , "overload it!" ); + DBG_ASSERT( sal_False , "overload it!" ); return 0; }; @@ -680,7 +680,7 @@ IMPL_LINK( Depper, PopupSelected, PopupMenu*, mpPopup ) maToolBox.Show(); break; default : - DBG_ASSERT( FALSE, "default" ); + DBG_ASSERT( sal_False, "default" ); break; } return 0; diff --git a/soldep/source/objwin.cxx b/soldep/source/objwin.cxx index 4ba34956c59f..f87101254a96 100644 --- a/soldep/source/objwin.cxx +++ b/soldep/source/objwin.cxx @@ -659,7 +659,7 @@ IMPL_LINK( ObjectWin, PopupSelected, PopupMenu*, mpPopup_l ) switch( nItemId ) { case OBJWIN_EDIT_TEXT : - DBG_ASSERT( FALSE,"edit"); + DBG_ASSERT( sal_False,"edit"); break; case OBJWIN_REMOVE_WIN : // DBG_ASSERT( FALSE,"remove"); diff --git a/soldep/source/soldep.cxx b/soldep/source/soldep.cxx index 71edfb97370f..2ab3afefd92c 100644 --- a/soldep/source/soldep.cxx +++ b/soldep/source/soldep.cxx @@ -379,7 +379,7 @@ ObjectWin *SolDep::RemoveObject( sal_uInt16 nId, sal_Bool bDelete ) delete pPrj; } else - DBG_ASSERT( FALSE, "project not found - write" ); + DBG_ASSERT( sal_False, "project not found - write" ); mpSolIdMapper->Delete( aBodyText ); if ( bDelete ) @@ -446,7 +446,7 @@ sal_uInt16 SolDep::AddConnector( ObjectWin* pStartWin, ObjectWin* pEndWin ) } else { - DBG_ASSERT( FALSE , "non existing Project" ); + DBG_ASSERT( sal_False , "non existing Project" ); return 1; } } @@ -699,7 +699,7 @@ sal_uInt16 SolDep::WriteSource() sal_uInt16 SolDep::Load( const ByteString& rFileName ) { // moved from depper class - DBG_ASSERT( FALSE , "you are dead!" ); + DBG_ASSERT( sal_False , "you are dead!" ); SvFileStream aInFile( String( rFileName, RTL_TEXTENCODING_UTF8 ), STREAM_READ ); depper_head dh; sal_uIntPtr i; -- cgit