diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:36:56 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:36:56 +0100 |
commit | 801b91432476d791bbb4000b06ace342f583784d (patch) | |
tree | 2ecd7e03a8629cc3fb6afcfadac6cc92b713e930 /scripting/source/vbaevents | |
parent | e53db9461e1cc7ad25ecf5e96021a2f4e70857b1 (diff) |
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: If0f1446a25f423b8cbfe6346f7a691f4f2618ad0
Diffstat (limited to 'scripting/source/vbaevents')
-rw-r--r-- | scripting/source/vbaevents/eventhelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx index 0f8f582a3e6b..75e85bed2475 100644 --- a/scripting/source/vbaevents/eventhelper.cxx +++ b/scripting/source/vbaevents/eventhelper.cxx @@ -962,8 +962,8 @@ EventListener::firing_Impl(const ScriptEvent& evt, Any* pRet ) throw(RuntimeExce sScriptCode = sScriptCode.copy( nIndex + 1 ); } OUString sMacroLoc = sProject; - sMacroLoc = sMacroLoc.concat( OUString(".") ); - sMacroLoc = sMacroLoc.concat( sScriptCode ).concat( OUString(".") ); + sMacroLoc = sMacroLoc.concat( "." ); + sMacroLoc = sMacroLoc.concat( sScriptCode ).concat( "." ); OSL_TRACE("sMacroLoc is %s", OUStringToOString( sMacroLoc, RTL_TEXTENCODING_UTF8 ).getStr() ); for ( ; txInfo != txInfo_end; ++txInfo ) |