summaryrefslogtreecommitdiff
path: root/scripting/source/vbaevents
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 09:36:56 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 09:36:56 +0100
commit801b91432476d791bbb4000b06ace342f583784d (patch)
tree2ecd7e03a8629cc3fb6afcfadac6cc92b713e930 /scripting/source/vbaevents
parente53db9461e1cc7ad25ecf5e96021a2f4e70857b1 (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.cxx4
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 )