summaryrefslogtreecommitdiff
path: root/sc/source/ui/optdlg/tpusrlst.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-01 19:05:02 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-02 14:58:56 +0100
commita6e69f8fcd017519c37be409097108da6a6fcb33 (patch)
tree5906fed0faf294ccc3cc54a77a878e7b91a16f31 /sc/source/ui/optdlg/tpusrlst.cxx
parent775a632985975057f5fa6c196aaffcd0a05e617a (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'sc/source/ui/optdlg/tpusrlst.cxx')
-rw-r--r--sc/source/ui/optdlg/tpusrlst.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx
index 3922f85db03d..af0cb875409c 100644
--- a/sc/source/ui/optdlg/tpusrlst.cxx
+++ b/sc/source/ui/optdlg/tpusrlst.cxx
@@ -331,7 +331,7 @@ void ScTpUserLists::UpdateEntries( USHORT nList )
}
else
{
- DBG_ERROR( "Invalid ListIndex :-/" );
+ OSL_FAIL( "Invalid ListIndex :-/" );
}
}
@@ -395,7 +395,7 @@ void ScTpUserLists::AddNewList( const String& rEntriesStr )
if ( !pUserLists->Insert( new ScUserListData( theEntriesStr ) ) )
{
- DBG_ERROR( "Entry could not be inserted :-/" );
+ OSL_FAIL( "Entry could not be inserted :-/" );
}
}