From d5784e91e9cd83336dc16392fd65cb11c5373c9c Mon Sep 17 00:00:00 2001 From: Muhammet Kara Date: Fri, 1 Jul 2016 14:07:52 +0300 Subject: Improve readability of OUString concatanation in LibPage , ScriptDocument , PropBrw , VBATest , SbUnoClass , SbModule , and SbiSymPool It is more readable and more efficient as a bonus. See: https://goo.gl/jsVAwy: Change-Id: I73926989345193b133e538d5aeca36f12723162c Reviewed-on: https://gerrit.libreoffice.org/26853 Tested-by: Jenkins Reviewed-by: Markus Mohrhard --- basic/qa/cppunit/test_vba.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'basic/qa/cppunit') diff --git a/basic/qa/cppunit/test_vba.cxx b/basic/qa/cppunit/test_vba.cxx index 83d243d21dc0..7d145e832f02 100644 --- a/basic/qa/cppunit/test_vba.cxx +++ b/basic/qa/cppunit/test_vba.cxx @@ -69,8 +69,8 @@ void VBATest::testMiscVBAFunctions() for ( sal_uInt32 i=0; i aArgs(1); // path to test document - OUString sPath = m_directories.getPathFromSrc("/basic/qa/vba_tests/data/"); - sPath += "ADODBdata.xls"; + OUString sPath = m_directories.getPathFromSrc("/basic/qa/vba_tests/data/") + + "ADODBdata.xls"; sPath = sPath.replaceAll( "/", "\\" ); aArgs[ 0 ] = uno::makeAny( sPath ); for ( sal_uInt32 i=0; i