diff options
author | Tom Verbeek <tv@openoffice.org> | 2001-04-25 09:10:51 +0000 |
---|---|---|
committer | Tom Verbeek <tv@openoffice.org> | 2001-04-25 09:10:51 +0000 |
commit | 374faa1fe260c75d507dc59553a6b4be53d94247 (patch) | |
tree | 280a3620cc7223cbdf0f992554a0231caf59b703 /wizards/source/template | |
parent | a73f0bfad51f25f370e9e52c11b5074e8fcc35f5 (diff) |
changed 'LoadLibrary' to 'BasicLibraries.LoadLibrary'
Diffstat (limited to 'wizards/source/template')
-rw-r--r-- | wizards/source/template/Autotext.xba | 4 | ||||
-rw-r--r-- | wizards/source/template/Correspondence.xba | 12 | ||||
-rw-r--r-- | wizards/source/template/Samples.xba | 6 |
3 files changed, 11 insertions, 11 deletions
diff --git a/wizards/source/template/Autotext.xba b/wizards/source/template/Autotext.xba index 96037115d417..14b74d3ef205 100644 --- a/wizards/source/template/Autotext.xba +++ b/wizards/source/template/Autotext.xba @@ -6,7 +6,7 @@ Public BulletList(7) as Integer Sub Main() ' Initialization... - LoadLibrary("Tools") + BasicLibraries.LoadLibrary("Tools") UserfieldDatatype(0) = "COMPANY" UserfieldDatatype(1) = "FIRSTNAME" @@ -135,4 +135,4 @@ Dim MaxIndex as Integer End Sub -</script:module>
\ No newline at end of file +</script:module> diff --git a/wizards/source/template/Correspondence.xba b/wizards/source/template/Correspondence.xba index 9a8883efd03c..27299a7fc35c 100644 --- a/wizards/source/template/Correspondence.xba +++ b/wizards/source/template/Correspondence.xba @@ -10,7 +10,7 @@ Public DialogExited Public oDocument, oText, oBookMarks, oBookMark, oBookMarkCursor, oBookText as Object Sub Main - LoadLibrary("tools") + BasicLibraries.LoadLibrary("Tools") TemplateDialog = LoadDialog("Template", "TemplateDialog") DialogModel = TemplateDialog.Model DialogModel.Step = 2 @@ -54,13 +54,13 @@ Dim oFields as Object msgError$ = GetResText(1302) DialogModel.Title = GetResText(1303) DialogModel.CmdCancel.Label = GetResText(1102) - DialogModel.CmdCorrGoOn.Label = GetResText(1103) + DialogModel.CmdCorrGoOn.Label = GetResText(1103) DialogModel.OptSingle.Label = GetResText(1303 + 1) DialogModel.Optmerge.Label = GetResText(1303 + 2) LoadLanguageCorrespondence() = True Else -' Todo: Meldung, was Passiert wenn Datenbank nicht angelegt werden konnte - LoadLanguageCorrespondence() = False +' Todo: Meldung, was Passiert wenn Datenbank nicht angelegt werden konnte + LoadLanguageCorrespondence() = False End If End Function @@ -209,7 +209,7 @@ Dim oDisp as Object oUrl.Complete = "slot:6517" oTrans.parsestrict(oUrl) - oDisp = StarDesktop.currentFrame.queryDispatch(oUrl, "_self", 0) + oDisp = StarDesktop.currentFrame.queryDispatch(oUrl, "_self", 0) oDisp.dispatch(oUrl, oArg()) End Sub -</script:module>
\ No newline at end of file +</script:module> diff --git a/wizards/source/template/Samples.xba b/wizards/source/template/Samples.xba index d02e2da42018..9c71f04d653a 100644 --- a/wizards/source/template/Samples.xba +++ b/wizards/source/template/Samples.xba @@ -50,7 +50,7 @@ Dim mFileProperties(0) as New com.sun.star.beans.PropertyValue oNewDocument = StarDesktop.LoadComponentFromURL(DocPath,"_blank",0, mFileProperties()) PrepareForEditing() = oNewDocument ' If IsFatOffice() Then - ' If opened within a FatOffice Environment close doc. + ' If opened within a FatOffice Environment close doc. ' Note: Due to a bug in Web office it is not possible to close the doc there oDocument.Dispose() ' End If @@ -75,7 +75,7 @@ Dim sFilterName(0) as String Dim StyleNames() as String Dim t as Integer Dim MaxIndex as Integer - LoadLibrary("Tools") + BasicLibraries.LoadLibrary("Tools") If InitResources("'Template'", "tpl") then oDocument = StarDesktop.ActiveFrame.Controller.Model If oDocument.SupportsService("com.sun.star.sheet.SpreadsheetDocument") Then @@ -176,4 +176,4 @@ Sub KillTempFile() End If End Sub -</script:module>
\ No newline at end of file +</script:module> |