[Libreoffice-commits] .: basic/source

Noel Power noelp at kemper.freedesktop.org
Wed Mar 30 02:08:35 PDT 2011


 basic/source/app/mybasic.cxx |   22 ----------------------
 1 file changed, 22 deletions(-)

New commits:
commit 105cb6e2201d04f961c3345b84c95158094d697c
Author: Xisco Fauli <anistenis at gmail.com>
Date:   Mon Mar 28 17:03:18 2011 +0200

    Remove unotest macro

diff --git a/basic/source/app/mybasic.cxx b/basic/source/app/mybasic.cxx
index adf1322..c26bce8 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;
 }
 


More information about the Libreoffice-commits mailing list