Tag: cws_dev300_odbmacros3 User: fs Date: 2008-05-19 21:19:20+0000 Modified: dba/dbaccess/source/ext/macromigration/migrationlog.cxx
Log: more error message tuning 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.5&r2=1.4.2.6 Delta lines: +8 -8 ------------------- --- migrationlog.cxx 2008-05-19 20:20:55+0000 1.4.2.5 +++ migrationlog.cxx 2008-05-19 21:19:18+0000 1.4.2.6 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: migrationlog.cxx,v $ - * $Revision: 1.4.2.5 $ + * $Revision: 1.4.2.6 $ * * This file is part of OpenOffice.org. * @@ -248,12 +248,12 @@ switch ( _rError.eType ) { case ERR_OPENING_SUB_DOCUMENT_FAILED: - pAsciiErrorDescription = "opening form/report '#name#' failed"; + pAsciiErrorDescription = "opening #name# failed"; aAsciiParameterNames.push_back( "#name#" ); break; case ERR_CLOSING_SUB_DOCUMENT_FAILED: - pAsciiErrorDescription = "closing form/report '#name#' failed"; + pAsciiErrorDescription = "closing #name# failed"; aAsciiParameterNames.push_back( "#name#" ); break; @@ -271,7 +271,8 @@ break; case ERR_UNEXPECTED_LIBSTORAGE_ELEMENT: - pAsciiErrorDescription = "unexpected library storage element in storage #libstore#, named #element#"; + pAsciiErrorDescription = "unexpected #lib# storage element in document #doc#, named #element#"; + aAsciiParameterNames.push_back( "#doc#" ); aAsciiParameterNames.push_back( "#libstore#" ); aAsciiParameterNames.push_back( "#element#" ); break; @@ -334,9 +335,8 @@ break; case ERR_BIND_SCRIPT_STORAGE_FAILED: - pAsciiErrorDescription = "binding to the script storage failed for document #doc# (mode: #mode#)"; + pAsciiErrorDescription = "binding to the script storage failed for document #doc#"; aAsciiParameterNames.push_back( "#doc#" ); - aAsciiParameterNames.push_back( "#mode#" ); break; case ERR_REMOVE_SCRIPTS_STORAGE_FAILED: @@ -345,14 +345,14 @@ break; case ERR_DOCUMENT_BACKUP_FAILED: - pAsciiErrorDescription = "backuping up the document to #location# failed"; + pAsciiErrorDescription = "backing up the document to #location# failed"; aAsciiParameterNames.push_back( "#location#" ); break; case ERR_UNKNOWN_SCRIPT_FOLDER: pAsciiErrorDescription = "unknown script folder #name# in document #doc#"; - aAsciiParameterNames.push_back( "#name#" ); aAsciiParameterNames.push_back( "#doc#" ); + aAsciiParameterNames.push_back( "#name#" ); break; case ERR_EXAMINING_SCRIPTS_FOLDER_FAILED: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
