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.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/basic/qa/cppunit/test_vba.cxx b/basic/qa/cppunit/test_vba.cxx
index 97470dd515a5..39efcb7d5805 100644
--- a/basic/qa/cppunit/test_vba.cxx
+++ b/basic/qa/cppunit/test_vba.cxx
@@ -233,8 +233,7 @@ void VBATest::testMiscOLEStuff()
sPath = sPath.replaceAll( "/", "\\" );
aArgs[ 0 ] <<= sPath;
- aArgs[ 1 ] <<= OUString(
- reinterpret_cast<sal_Unicode const *>(pODBCDriverName));
+ aArgs[ 1 ] <<= OUString(SAL_U(pODBCDriverName));
for ( sal_uInt32 i=0; i<SAL_N_ELEMENTS( macroSource ); ++i )
{