Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Last time It was used was back in 2000.
From a4b55d6390006b032a34cc6a252726d3e35e2dcf Mon Sep 17 00:00:00 2001
From: Xisco Fauli <anistenis@gmail.com>
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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.