Tag: cws_dev300_odbmacros3 User: fs Date: 2008-09-09 11:02:34+0000 Modified: dba/dbaccess/source/ext/macromigration/migrationlog.cxx
Log: wording of some error messages File Changes: Directory: /dba/dbaccess/source/ext/macromigration/ =================================================== File [changed]: migrationlog.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ext/macromigration/migrationlog.cxx?r1=1.4.2.7&r2=1.4.2.8 Delta lines: +14 -13 --------------------- --- migrationlog.cxx 2008-05-21 12:26:53+0000 1.4.2.7 +++ migrationlog.cxx 2008-09-09 11:02:32+0000 1.4.2.8 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: migrationlog.cxx,v $ - * $Revision: 1.4.2.7 $ + * $Revision: 1.4.2.8 $ * * This file is part of OpenOffice.org. * @@ -248,12 +248,12 @@ switch ( _rError.eType ) { case ERR_OPENING_SUB_DOCUMENT_FAILED: - pAsciiErrorDescription = "opening #name# failed"; + pAsciiErrorDescription = "opening '#name#' failed"; aAsciiParameterNames.push_back( "#name#" ); break; case ERR_CLOSING_SUB_DOCUMENT_FAILED: - pAsciiErrorDescription = "closing #name# failed"; + pAsciiErrorDescription = "closing '#name#' failed"; aAsciiParameterNames.push_back( "#name#" ); break; @@ -271,7 +271,7 @@ break; case ERR_UNEXPECTED_LIBSTORAGE_ELEMENT: - pAsciiErrorDescription = "unexpected #lib# storage element in document #doc#, named #element#"; + pAsciiErrorDescription = "unexpected #lib# storage element in document '#doc#', named '#element#'"; aAsciiParameterNames.push_back( "#doc#" ); aAsciiParameterNames.push_back( "#libstore#" ); aAsciiParameterNames.push_back( "#element#" ); @@ -283,19 +283,19 @@ break; case ERR_COMMITTING_SCRIPT_STORAGES_FAILED: - pAsciiErrorDescription = "saving the #scripttype# scripts for document #doc# failed"; + pAsciiErrorDescription = "saving the #scripttype# scripts for document '#doc#' failed"; aAsciiParameterNames.push_back( "#scripttype#" ); aAsciiParameterNames.push_back( "#doc#" ); break; case ERR_GENERAL_SCRIPT_MIGRATION_FAILURE: - pAsciiErrorDescription = "general error during migrationg #scripttype# scripts of document #doc#"; + pAsciiErrorDescription = "general error during migrationg #scripttype# scripts of document '#doc#'"; aAsciiParameterNames.push_back( "#scripttype#" ); aAsciiParameterNames.push_back( "#doc#" ); break; case ERR_GENERAL_MACRO_MIGRATION_FAILURE: - pAsciiErrorDescription = "general error during macro migration of document #doc#"; + pAsciiErrorDescription = "general error during macro migration of document '#doc#'"; aAsciiParameterNames.push_back( "#doc#" ); break; @@ -330,17 +330,17 @@ break; case ERR_ADJUSTING_FORMCOMP_EVENTS_FAILED: - pAsciiErrorDescription = "adjusting form component events for #doc# failed"; + pAsciiErrorDescription = "adjusting form component events for '#doc#' failed"; aAsciiParameterNames.push_back( "#doc#" ); break; case ERR_BIND_SCRIPT_STORAGE_FAILED: - pAsciiErrorDescription = "binding to the script storage failed for document #doc#"; + pAsciiErrorDescription = "binding to the script storage failed for document '#doc#'"; aAsciiParameterNames.push_back( "#doc#" ); break; case ERR_REMOVE_SCRIPTS_STORAGE_FAILED: - pAsciiErrorDescription = "removing a scripts storage failed for document #doc#"; + pAsciiErrorDescription = "removing a scripts storage failed for document '#doc#'"; aAsciiParameterNames.push_back( "#doc#" ); break; @@ -350,18 +350,18 @@ break; case ERR_UNKNOWN_SCRIPT_FOLDER: - pAsciiErrorDescription = "unknown script folder #name# in document #doc#"; + pAsciiErrorDescription = "unknown script folder '#name#' in document '#doc#'"; aAsciiParameterNames.push_back( "#doc#" ); aAsciiParameterNames.push_back( "#name#" ); break; case ERR_EXAMINING_SCRIPTS_FOLDER_FAILED: - pAsciiErrorDescription = "examining the 'Scripts' folder failed for document #doc# failed"; + pAsciiErrorDescription = "examining the 'Scripts' folder failed for document '#doc#'"; aAsciiParameterNames.push_back( "#doc#" ); break; case ERR_PASSWORD_VERIFICATION_FAILED: - pAsciiErrorDescription = "password verification failed for document #doc#, #libtype# library '#name#'"; + pAsciiErrorDescription = "password verification failed for document '#doc#', #libtype# library '#name#'"; aAsciiParameterNames.push_back( "#doc#" ); aAsciiParameterNames.push_back( "#libtype#" ); aAsciiParameterNames.push_back( "#name#" ); @@ -402,6 +402,7 @@ ) { _rBuffer.append( sal_Unicode( '-' ) ); + _rBuffer.append( sal_Unicode( ' ' ) ); lcl_appendErrorDescription( _rBuffer, *error ); _rBuffer.append( sal_Unicode( '\n' ) ); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
