diff --git a/source/text/sbasic/guide/sample_code.xhp b/source/text/sbasic/guide/sample_code.xhp
index 3b38f6946c..b6721f2dc8 100644
--- a/source/text/sbasic/guide/sample_code.xhp
+++ b/source/text/sbasic/guide/sample_code.xhp
@@ -40,7 +40,7 @@
Programming Examples for Controls in the Dialog Editor
-
+
The following examples are for a new dialog called "Dialog1". Use the tools on the Toolbox bar in the dialog editor to create the dialog and add the following controls: a Check Box called "CheckBox1", a Label Field called "Label1", a Button called "CommandButton1", and a List Box called "ListBox1".Be consistent with uppercase and lowercase letter when you attach a control to an object variable.Global Function for Loading Dialogs
@@ -76,7 +76,7 @@
Sub Sample1 With GlobalScope.Basiclibraries
- If Not .IsLibraryLoaded("Tools") Then .LoadLibrary("Tools")
+ If Not .IsLibraryLoaded("Tools") Then .LoadLibrary("Tools") End With oDialog1 = Tools.LoadDialog("Standard", "Dialog1") REM get dialog model
diff --git a/source/text/sbasic/python/python_import.xhp b/source/text/sbasic/python/python_import.xhp
index da92932beb..ad53db487c 100644
--- a/source/text/sbasic/python/python_import.xhp
+++ b/source/text/sbasic/python/python_import.xhp
@@ -66,7 +66,7 @@
Importing a Python document embedded module is illustrated below. Error handling is not detailed. Python run time path is updated when document has been opened and before closure. Refer to Event-Driven Macros to learn how to associate Python macros to document events.# -*- coding: utf-8 -*-
- from __future__ import unicode_literals
+ from __future__ import unicode_literalsimport sys, uno
diff --git a/source/text/sbasic/shared/03101100.xhp b/source/text/sbasic/shared/03101100.xhp
index 82ddc1f24b..2500d928ad 100644
--- a/source/text/sbasic/shared/03101100.xhp
+++ b/source/text/sbasic/shared/03101100.xhp
@@ -59,7 +59,7 @@
DefCur c,l-mDefDate tDefDbl f
- DefErr e
+ DefErr eDefInt i-k,NDefLng x-z, DDefObj U, o-R
diff --git a/source/text/sbasic/shared/03120411.xhp b/source/text/sbasic/shared/03120411.xhp
index 40300eaed0..31327d0466 100644
--- a/source/text/sbasic/shared/03120411.xhp
+++ b/source/text/sbasic/shared/03120411.xhp
@@ -64,7 +64,7 @@
iPos = InStrRev(sInput,"the",10,1) ' Returns 1, search is case-insensitive Print iPos iPos = InStrRev(sInput,"the",10,0) ' Returns 0, search is case-sensitive
- Print iPos
+ Print iPosEnd Sub
diff --git a/source/text/scalc/01/04060107.xhp b/source/text/scalc/01/04060107.xhp
index 08eabd6926..079811675f 100644
--- a/source/text/scalc/01/04060107.xhp
+++ b/source/text/scalc/01/04060107.xhp
@@ -699,7 +699,7 @@
- 9
+ 94
@@ -1034,7 +1034,7 @@
A
- B
+ BC
diff --git a/source/text/scalc/01/04060183.xhp b/source/text/scalc/01/04060183.xhp
index c13d0a6fed..b0c96d5c13 100644
--- a/source/text/scalc/01/04060183.xhp
+++ b/source/text/scalc/01/04060183.xhp
@@ -316,7 +316,7 @@
-COM.MICROSOFT.LOGNORM.DIST
+COM.MICROSOFT.LOGNORM.DIST
diff --git a/source/text/scalc/01/04060185.xhp b/source/text/scalc/01/04060185.xhp
index 97ba4ce5a7..fa3662d734 100644
--- a/source/text/scalc/01/04060185.xhp
+++ b/source/text/scalc/01/04060185.xhp
@@ -436,7 +436,7 @@
- COM.MICROSOFT.T.INV
+ COM.MICROSOFT.T.INV
diff --git a/source/text/scalc/01/func_imcot.xhp b/source/text/scalc/01/func_imcot.xhp
index 7155400177..20d572a62c 100644
--- a/source/text/scalc/01/func_imcot.xhp
+++ b/source/text/scalc/01/func_imcot.xhp
@@ -63,7 +63,7 @@
-
+
diff --git a/source/text/sdatabase/dabawiz02oracle.xhp b/source/text/sdatabase/dabawiz02oracle.xhp
index efe7aae2e4..988bc8fc10 100644
--- a/source/text/sdatabase/dabawiz02oracle.xhp
+++ b/source/text/sdatabase/dabawiz02oracle.xhp
@@ -55,6 +55,6 @@
Test Class
Tests the connection with the current settings.Authentication
-
+