From 03516c505eced337149782a67b2ad98c246929b3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 30 Sep 2019 15:10:42 +0200 Subject: loplugin:stringadd in helpcompiler..oox Change-Id: I858870d883de10a673d7ce2798bda8c8f511cee5 Reviewed-on: https://gerrit.libreoffice.org/79889 Tested-by: Jenkins Reviewed-by: Noel Grandin --- oox/source/ole/vbamodule.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'oox/source/ole') diff --git a/oox/source/ole/vbamodule.cxx b/oox/source/ole/vbamodule.cxx index 889398ccfae6..b7ff5edb7aec 100644 --- a/oox/source/ole/vbamodule.cxx +++ b/oox/source/ole/vbamodule.cxx @@ -190,8 +190,7 @@ OUString VbaModule::readSourceCode( StorageBase& rVbaStrg ) const { // cntrl modifier is explicit ( but could be cntrl+shift ), parseKeyEvent // will handle and uppercase letter appropriately - OUString sApiKey = "^"; - sApiKey += sKey; + OUString sApiKey = "^" + sKey; try { KeyEvent aKeyEvent = ooo::vba::parseKeyEvent( sApiKey ); -- cgit