summaryrefslogtreecommitdiff
path: root/wizards/source
diff options
context:
space:
mode:
authorBehrend Cornelius <bc@openoffice.org>2001-05-11 14:23:53 +0000
committerBehrend Cornelius <bc@openoffice.org>2001-05-11 14:23:53 +0000
commitbc8d9fd86094969af4538f38c7b8578941f1e3f7 (patch)
treed213a09ef7f6de27a560cd29983b498078ae3a05 /wizards/source
parentcfcfa08b72414757628e3b44ea49f7b156084279 (diff)
## several changes
Diffstat (limited to 'wizards/source')
-rw-r--r--wizards/source/tools/Debug.xba6
-rw-r--r--wizards/source/tools/ModuleControls.xba6
2 files changed, 7 insertions, 5 deletions
diff --git a/wizards/source/tools/Debug.xba b/wizards/source/tools/Debug.xba
index 5f7b1e8de15c..04d8235af493 100644
--- a/wizards/source/tools/Debug.xba
+++ b/wizards/source/tools/Debug.xba
@@ -81,11 +81,13 @@ End Sub
Sub ShowPropertyValues(oLocObject as Object)
Dim PropName as String
Dim sValues as String
+Dim MaxIndex as Integer
On Local Error Goto NOPROPERTYSETINFO:
sValues = &quot;&quot;
- For i = 0 To Ubound(oLocObject.PropertySetInfo.Properties)
+ MaxIndex = Ubound(oLocObject.PropertySetInfo.Properties)
+ For i = 0 To MaxIndex
Propname = oLocObject.PropertySetInfo.Properties(i).Name
- sValues = sValues &amp; PropName &amp; chr(13) &apos;&quot; = &quot; &amp; oLocObject.GetPropertyValue(PropName) &amp; chr(13)
+ sValues = sValues &amp; PropName &amp; oLocObject.GetPropertyValue(PropName) &amp; chr(13)
Next i
Msgbox(sValues , 64, GetProductName())
Exit Sub
diff --git a/wizards/source/tools/ModuleControls.xba b/wizards/source/tools/ModuleControls.xba
index ad0ad04dfeea..186523a9bc8c 100644
--- a/wizards/source/tools/ModuleControls.xba
+++ b/wizards/source/tools/ModuleControls.xba
@@ -145,9 +145,9 @@ End Function
Function LoadDialog(Libname as String, DialogName as String)
Dim oLib as Object
Dim oDialog as Object
- dialogs.loadLibrary(Libname)
- oLib = dialogs.GetByName(Libname)
+ DialogLibraries.loadLibrary(Libname)
+ oLib = DialogLibraries.GetByName(Libname)
oDialog = CreateUnoDialog(oLib, DialogName)
LoadDialog() = oDialog
End Function
-</script:module> \ No newline at end of file
+</script:module>