summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2011-03-28 17:03:18 +0200
committerNoel Power <noel.power@novell.com>2011-03-30 10:07:53 +0100
commit105cb6e2201d04f961c3345b84c95158094d697c (patch)
treebe1f95df383877148162d687917f71d1cdd22152
parent8ca0acd81426813e9ef1b585ca01d68e492042c3 (diff)
Remove unotest macro
-rw-r--r--basic/source/app/mybasic.cxx22
1 files changed, 0 insertions, 22 deletions
diff --git a/basic/source/app/mybasic.cxx b/basic/source/app/mybasic.cxx
index adf132265f..c26bce8449 100644
--- a/basic/source/app/mybasic.cxx
+++ b/basic/source/app/mybasic.cxx
@@ -32,14 +32,6 @@
#include <vcl/msgbox.hxx>
#include <basic/sbx.hxx>
-// AB-Uno-Test
-//#define unotest
-#ifdef unotest
-#include <usr/uno.hxx>
-#include <basic/sbuno.hxx>
-#include <sbunoobj.hxx>
-#endif
-
#include "sbintern.hxx"
#include <basic/ttstrhlp.hxx>
@@ -90,20 +82,6 @@ MyBasic::MyBasic() : StarBASIC()
p->SetName( CUniString("Objects") );
Insert( p );
- // AB-Uno-Test
-#ifdef unotest
- // Get Uno-Service-Manager and Reflection Service
- createAndSetDefaultServiceManager(); // done later
-
- // Get Uno-Test-Object
- UsrAny aObjAny = getIntrospectionTestObject();
-
- // Box object into SbUnoObject
- String aName( "UnoObject" );
- SbxObjectRef xSbUnoObj = GetSbUnoObject( aName, aObjAny );
- Insert( (SbxObject*)xSbUnoObj );
-#endif
-
pTestObject = NULL;
}