Last time It was used was back in 2000.
From a4b55d6390006b032a34cc6a252726d3e35e2dcf Mon Sep 17 00:00:00 2001
From: Xisco Fauli <[email protected]>
Date: Mon, 28 Mar 2011 17:03:18 +0200
Subject: [PATCH] Remove unotest macro
---
basic/source/app/mybasic.cxx | 22 ----------------------
1 files changed, 0 insertions(+), 22 deletions(-)
diff --git a/basic/source/app/mybasic.cxx b/basic/source/app/mybasic.cxx
index adf1322..c26bce8 100755
--- 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;
}
--
1.7.1
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice