summaryrefslogtreecommitdiff
path: root/basic/qa/cppunit/basictest.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/qa/cppunit/basictest.hxx')
-rw-r--r--basic/qa/cppunit/basictest.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/qa/cppunit/basictest.hxx b/basic/qa/cppunit/basictest.hxx
index ad6ac4d94ed1..9115b60bb544 100644
--- a/basic/qa/cppunit/basictest.hxx
+++ b/basic/qa/cppunit/basictest.hxx
@@ -37,7 +37,7 @@ class MacroSnippet
}
void MakeModule( const OUString& sSource )
{
- mpMod = mpBasic->MakeModule( OUString( "TestModule" ), sSource );
+ mpMod = mpBasic->MakeModule( "TestModule", sSource );
}
public:
struct ErrorDetail
@@ -93,7 +93,7 @@ class MacroSnippet
SbxVariableRef pReturn = NULL;
if ( !Compile() )
return pReturn;
- SbMethod* pMeth = mpMod ? static_cast<SbMethod*>(mpMod->Find( OUString("doUnitTest"), SbxCLASS_METHOD )) : NULL;
+ SbMethod* pMeth = mpMod ? static_cast<SbMethod*>(mpMod->Find( "doUnitTest", SbxCLASS_METHOD )) : NULL;
if ( pMeth )
{
if ( rArgs.getLength() )