From 63e81af351b09ceecb29c3064660261058fbb2d3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 26 Jun 2015 13:53:48 +0200 Subject: loplugin:stringconstant: handle OUString+=OUString(literal) Change-Id: Id2efd6f38390bb73620cf40121430c4226024103 --- pyuno/source/module/pyuno_runtime.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'pyuno/source') 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 + ")"; } } -- cgit