[Libreoffice-commits] .: basic/inc

Joseph Powers jpowers at kemper.freedesktop.org
Tue Dec 14 18:51:08 PST 2010


 basic/inc/basic/mybasic.hxx |   18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)

New commits:
commit 13bcdb7bd02d97d9d5a57a8a9b2ab591fb5d2d1d
Author: Joseph Powers <jpowers27 at cox.net>
Date:   Mon Dec 13 05:59:23 2010 -0800

    Remove DECLARE_LIST( ErrorList, BasicError* )
    
    It seems that the ErrorList was never used.

diff --git a/basic/inc/basic/mybasic.hxx b/basic/inc/basic/mybasic.hxx
index 4a32e04..327bb8d 100644
--- a/basic/inc/basic/mybasic.hxx
+++ b/basic/inc/basic/mybasic.hxx
@@ -2,7 +2,7 @@
 /*************************************************************************
  *
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- * 
+ *
  * Copyright 2000, 2010 Oracle and/or its affiliates.
  *
  * OpenOffice.org - a multi-platform office productivity suite
@@ -31,20 +31,7 @@
 
 #include <basic/sbstar.hxx>
 
-class BasicApp;
 class AppBasEd;
-class ErrorEntry;
-
-class BasicError {
-    AppBasEd* pWin;
-    USHORT  nLine, nCol1, nCol2;
-    String aText;
-public:
-    BasicError( AppBasEd*, USHORT, const String&, USHORT, USHORT, USHORT );
-    void Show();
-};
-
-DECLARE_LIST( ErrorList, BasicError* )
 
 #define SBXID_MYBASIC	0x594D		// MyBasic: MY
 #define	SBXCR_TEST		0x54534554	// TEST
@@ -68,7 +55,6 @@ protected:
 public:
     SBX_DECL_PERSIST_NODATA(SBXCR_TEST,SBXID_MYBASIC,1);
     TYPEINFO();
-    ErrorList aErrors;
     MyBasic();
     virtual ~MyBasic();
     virtual BOOL Compile( SbModule* );
@@ -80,7 +66,7 @@ public:
 
     virtual void LoadIniFile();
 
-    // Determines the extended symbol type for syntax highlighting	
+    // Determines the extended symbol type for syntax highlighting
     virtual SbTextType GetSymbolType( const String &Symbol, BOOL bWasTTControl );
     virtual const String GetSpechialErrorText();
     virtual void ReportRuntimeError( AppBasEd *pEditWin );


More information about the Libreoffice-commits mailing list