summaryrefslogtreecommitdiff
path: root/svtools/source/dialogs/wizardmachine.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-01 19:08:19 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-02 14:46:42 +0100
commit11d20507806d30e2d1955b93a568b84a2216ef69 (patch)
treeb34fa3afac27eac9404f16e46b530aa2cbcad41d /svtools/source/dialogs/wizardmachine.cxx
parent7b981b7cab15e0fc2ebb159df2d40c3a2499b265 (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'svtools/source/dialogs/wizardmachine.cxx')
-rw-r--r--svtools/source/dialogs/wizardmachine.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/dialogs/wizardmachine.cxx b/svtools/source/dialogs/wizardmachine.cxx
index 9068b493df9d..d652a1a8a294 100644
--- a/svtools/source/dialogs/wizardmachine.cxx
+++ b/svtools/source/dialogs/wizardmachine.cxx
@@ -522,7 +522,7 @@ namespace svt
WizardState nNextState = determineNextState( nCurrentState );
if ( WZS_INVALID_STATE == nNextState )
{
- DBG_ERROR( "OWizardMachine::skipUntil: the given target state does not exist!" );
+ OSL_FAIL( "OWizardMachine::skipUntil: the given target state does not exist!" );
return sal_False;
}
@@ -538,7 +538,7 @@ namespace svt
{
// argh! prepareLeaveCurrentPage succeeded, determineNextState succeeded,
// but ShowPage doesn't? Somebody behaves very strange here ....
- DBG_ERROR( "OWizardMachine::skipUntil: very unpolite ...." );
+ OSL_FAIL( "OWizardMachine::skipUntil: very unpolite ...." );
m_pImpl->aStateHistory = aOldStateHistory;
return sal_False;
}
@@ -574,7 +574,7 @@ namespace svt
{
// TODO: this leaves us in a state where we have no current page and an inconsistent state history.
// Perhaps we should rollback the skipping here ....
- DBG_ERROR("OWizardMachine::skip: very unpolite ....");
+ OSL_FAIL("OWizardMachine::skip: very unpolite ....");
// if somebody does a skip and then does not allow to leave ...
// (can't be a commit error, as we've already committed the current page. So if ShowPage fails here,
// somebody behaves really strange ...)