diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-26 13:53:48 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-26 13:55:33 +0200 |
commit | 63e81af351b09ceecb29c3064660261058fbb2d3 (patch) | |
tree | 2ae600e85c18bff43ebc24f7693cbc295e51fda1 /pyuno/source | |
parent | a77caf49cd2c8382ce06e502822f5d060be20a89 (diff) |
loplugin:stringconstant: handle OUString+=OUString(literal)
Change-Id: Id2efd6f38390bb73620cf40121430c4226024103
Diffstat (limited to 'pyuno/source')
-rw-r--r-- | pyuno/source/module/pyuno_runtime.cxx | 4 |
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 + ")"; } } |