summaryrefslogtreecommitdiff
path: root/pyuno/source/module/pyuno_runtime.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno/source/module/pyuno_runtime.cxx')
-rw-r--r--pyuno/source/module/pyuno_runtime.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx
index 9d69797730d5..1aba10a0b7c7 100644
--- a/pyuno/source/module/pyuno_runtime.cxx
+++ b/pyuno/source/module/pyuno_runtime.cxx
@@ -964,9 +964,7 @@ Any Runtime::extractUnoException( const PyRef & excType, const PyRef &excValue,
str = "Could not load uno.py, no stacktrace available";
if ( !e.Message.isEmpty() )
{
- str += OUString (" (Error loading uno.py: ");
- str += e.Message;
- str += OUString (")");
+ str += " (Error loading uno.py: " + e.Message + ")";
}
}