Failure to load JDBC driver is an error, not info

This commit is contained in:
Lionel Elie Mamane
2011-11-30 12:51:46 +01:00
parent 9a466d9718
commit c75e15c980
2 changed files with 2 additions and 2 deletions

View File

@@ -578,7 +578,7 @@ DBG_NAME(OMySQLIntroPageSetup)
}
sal_uInt16 nMessage = bSuccess ? STR_JDBCDRIVER_SUCCESS : STR_JDBCDRIVER_NO_SUCCESS;
OSQLMessageBox aMsg( this, String( ModuleRes( nMessage ) ), String() );
OSQLMessageBox aMsg( this, String( ModuleRes( nMessage ) ), String(), WB_OK | WB_DEF_OK, OSQLMessageBox::MessageType::Error );
aMsg.Execute();
return 0L;
}

View File

@@ -647,7 +647,7 @@ namespace dbaui
}
sal_uInt16 nMessage = bSuccess ? STR_JDBCDRIVER_SUCCESS : STR_JDBCDRIVER_NO_SUCCESS;
OSQLMessageBox aMsg( this, String( ModuleRes( nMessage ) ), String() );
OSQLMessageBox aMsg( this, String( ModuleRes( nMessage ) ), String(), WB_OK | WB_DEF_OK, OSQLMessageBox::MessageType::Error );
aMsg.Execute();
return 0L;
}