summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-26 13:53:48 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-26 13:55:33 +0200
commit63e81af351b09ceecb29c3064660261058fbb2d3 (patch)
tree2ae600e85c18bff43ebc24f7693cbc295e51fda1 /pyuno
parenta77caf49cd2c8382ce06e502822f5d060be20a89 (diff)
loplugin:stringconstant: handle OUString+=OUString(literal)
Change-Id: Id2efd6f38390bb73620cf40121430c4226024103
Diffstat (limited to 'pyuno')
-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 + ")";
}
}