summaryrefslogtreecommitdiff
path: root/basic/qa/cppunit/test_vba.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/qa/cppunit/test_vba.cxx')
-rw-r--r--basic/qa/cppunit/test_vba.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/qa/cppunit/test_vba.cxx b/basic/qa/cppunit/test_vba.cxx
index a0f3f3208cd1..e493c20a89b1 100644
--- a/basic/qa/cppunit/test_vba.cxx
+++ b/basic/qa/cppunit/test_vba.cxx
@@ -142,8 +142,8 @@ void VBATest::testMiscOLEStuff()
OUString sPath = m_directories.getPathFromSrc("/basic/qa/vba_tests/data/ADODBdata.xls");
sPath = sPath.replaceAll( "/", "\\" );
- aArgs[ 0 ] = uno::makeAny( sPath );
- aArgs[ 1 ] = uno::makeAny( OUString(pODBCDriverName) );
+ aArgs[ 0 ] <<= sPath;
+ aArgs[ 1 ] <<= OUString(pODBCDriverName);
for ( sal_uInt32 i=0; i<SAL_N_ELEMENTS( macroSource ); ++i )
{