summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorJean-Pierre Ledure <jp@ledure.be>2016-11-05 12:18:55 +0100
committerJean-Pierre Ledure <jp@ledure.be>2016-11-05 12:18:55 +0100
commitc35fa61e25239a38079160f7c126ef6befa9584f (patch)
treebd026ba3d78a400049cfd3a9550ac03ee989c998 /wizards
parent18f5d68d685d3a75bab19a7442dfac86904bfc5d (diff)
Access2Base - Remove useless code in Root handling
Change-Id: I6f3a6efd858ac4e52b694cc0046c8f56a558c229
Diffstat (limited to 'wizards')
-rw-r--r--wizards/source/access2base/Application.xba18
-rw-r--r--wizards/source/access2base/Root_.xba13
2 files changed, 0 insertions, 31 deletions
diff --git a/wizards/source/access2base/Application.xba b/wizards/source/access2base/Application.xba
index 31e034048b14..ec3f729b94e1 100644
--- a/wizards/source/access2base/Application.xba
+++ b/wizards/source/access2base/Application.xba
@@ -160,23 +160,6 @@ Global Const CTLPARENTISGRID = &quot;GRID&quot;
Global Const CTLPARENTISGROUP = &quot;OPTIONGROUP&quot;
REM -----------------------------------------------------------------------------------------------------------------------
-Type Root
- ErrorHandler As Boolean
- MinimalTraceLevel As Integer
- TraceLogs() As Variant
- TraceLogCount As Integer
- TraceLogLast As Integer
- TraceLogMaxEntries As Integer
- CalledSub As String
- Introspection As Object &apos; com.sun.star.beans.Introspection
- VersionNumber As String &apos; Actual Access2Base version number
- FindRecord As Object
- StatusBar As Object
- Dialogs As Object &apos; Collection
- TempVars As Object &apos; Collection
- CurrentDoc() As Variant &apos; Array of document containers - [0] = Base document, [1 ... N] = other documents
-End Type
-
Type DocContainer
Document As Object &apos; com.sun.star.comp.dba.ODatabaseDocument or SwXTextDocument or ScModelObj
Active As Boolean
@@ -1483,7 +1466,6 @@ REM ----------------------------------------------------------------------------
Public Sub _RootInit(Optional ByVal pbForce As Boolean)
&apos; Initialize _A2B_ global variable. Reinit forced if pbForce = True
-Dim vRoot As Root, vCurrentDoc() As Variant
If IsMissing(pbForce) Then pbForce = False
If IsEmpty(_A2B_) Or pbForce Then _A2B_ = New Root_
diff --git a/wizards/source/access2base/Root_.xba b/wizards/source/access2base/Root_.xba
index cee811b7df70..5245b6689e88 100644
--- a/wizards/source/access2base/Root_.xba
+++ b/wizards/source/access2base/Root_.xba
@@ -33,19 +33,6 @@ Private Dialogs As Object &apos; Collection
Private TempVars As Object &apos; Collection
Private CurrentDoc() As Variant &apos; Array of document containers - [0] = Base document, [1 ... N] = other documents
-Type DocContainer
- Document As Object &apos; com.sun.star.comp.dba.ODatabaseDocument or SwXTextDocument or ScModelObj
- Active As Boolean
- DbConnect As Integer &apos; DBCONNECTxxx constants
- URL As String
- DbContainers() As Variant &apos; One entry by (data-aware) form
-End Type
-
-Type DbContainer
- FormName As String &apos; name of data-aware form
- Database As Object &apos; Database type
-End Type
-
REM -----------------------------------------------------------------------------------------------------------------------
REM --- CONSTRUCTORS / DESTRUCTORS ---
REM -----------------------------------------------------------------------------------------------------------------------