summaryrefslogtreecommitdiff
path: root/cpputools
diff options
context:
space:
mode:
authorJörg Budischewski <jbu@openoffice.org>2002-07-17 06:28:51 +0000
committerJörg Budischewski <jbu@openoffice.org>2002-07-17 06:28:51 +0000
commitdf3999bbf35cc79cb368f0fb25a70855fc7810b1 (patch)
treed16ce0785781fad38db6d49519ebe115f56cd5f1 /cpputools
parented23c8d376e1d68931bf75549100061910c83d08 (diff)
#101111# added the buildserver friendly error-tag in the output, when registering fails
Diffstat (limited to 'cpputools')
-rw-r--r--cpputools/source/registercomponent/registercomponent.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpputools/source/registercomponent/registercomponent.cxx b/cpputools/source/registercomponent/registercomponent.cxx
index 7d179e7cfc93..15324f51ea79 100644
--- a/cpputools/source/registercomponent/registercomponent.cxx
+++ b/cpputools/source/registercomponent/registercomponent.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: registercomponent.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: jbu $ $Date: 2002-05-22 12:54:28 $
+ * last change: $Author: jbu $ $Date: 2002-07-17 07:28:51 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -512,7 +512,7 @@ void DoIt::operator() (const OUString & url) throw()
catch(CannotRegisterImplementationException & cannotRegisterImplementationException) {
OString aMessage(OUStringToOString(cannotRegisterImplementationException.Message, RTL_TEXTENCODING_ASCII_US));
fprintf(stderr, "register component '%s' in registry '%s' failed!\n", sUrl.getStr(), _sRegName.getStr());
- fprintf(stderr, "CannotRegisterImplementationException: %s\n", aMessage.getStr());
+ fprintf(stderr, "error (CannotRegisterImplementationException): %s\n", aMessage.getStr());
++ (*_exitCode);
}
@@ -520,7 +520,7 @@ void DoIt::operator() (const OUString & url) throw()
{
OString aMessage(OUStringToOString(e.Message, RTL_TEXTENCODING_ASCII_US));
fprintf(stderr, "register component '%s' in registry '%s' failed!\n", sUrl.getStr(), _sRegName.getStr());
- fprintf(stderr, "RuntimeException: %s\n", aMessage.getStr());
+ fprintf(stderr, "error (RuntimeException): %s\n", aMessage.getStr());
++ (*_exitCode);
}