diff options
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/cppumaker/cpputype.cxx | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx index d3898d993b1b..7af4fb4b32d9 100644 --- a/codemaker/source/cppumaker/cpputype.cxx +++ b/codemaker/source/cppumaker/cpputype.cxx @@ -3484,9 +3484,11 @@ void ServiceType::dumpHxxFile( o << indent() << ("throw ::css::uno::DeploymentException(" "::rtl::OUString( " - "\"component context fails to supply service ") - << name_ << " of type " << baseName - << ": \" ) + the_exception.Message, the_context);\n"; + "\"component context fails to supply service \" ) + ") + << "\"" << name_ << "\" + " + << "\" of type \" + " + << "\"" << baseName << "\" + " + << "\": \" + the_exception.Message, the_context);\n"; dec(); o << indent() << "}\n" << indent() << "if (!the_instance.is()) {\n"; @@ -3494,9 +3496,11 @@ void ServiceType::dumpHxxFile( o << indent() << ("throw ::css::uno::DeploymentException(" "::rtl::OUString( " - "\"component context fails to supply service ") - << name_ << " of type " << baseName - << "\" ), the_context);\n"; + "\"component context fails to supply service \" ) + ") + << "\"" << name_ << "\" + " + << "\" of type \" + " + << "\"" << baseName << "\"" + << ", the_context);\n"; dec(); o << indent() << "}\n" << indent() << "return the_instance;\n"; dec(); |