summaryrefslogtreecommitdiff
path: root/wizards/source/template/Samples.xba
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/source/template/Samples.xba')
-rw-r--r--wizards/source/template/Samples.xba6
1 files changed, 3 insertions, 3 deletions
diff --git a/wizards/source/template/Samples.xba b/wizards/source/template/Samples.xba
index d02e2da42..9c71f04d6 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>