summaryrefslogtreecommitdiff
path: root/source/text/sbasic
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2022-12-19 18:12:17 +0200
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2022-12-19 16:22:00 +0000
commit1445fa8fda93a2f0ffab873c926390adb4937397 (patch)
tree8185ae21ea0ffe8812172038b7ff4f2fc1270950 /source/text/sbasic
parent318ec1f0e6248eac2536256bf26e1a183fc59541 (diff)
Fix duplicate IDs in non-localized content
Change-Id: I759b05a2ba10671700c9222f54e61edf39f5baff Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144538 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'source/text/sbasic')
-rw-r--r--source/text/sbasic/guide/sample_code.xhp4
-rw-r--r--source/text/sbasic/python/python_import.xhp2
-rw-r--r--source/text/sbasic/shared/03101100.xhp2
-rw-r--r--source/text/sbasic/shared/03120411.xhp2
4 files changed, 5 insertions, 5 deletions
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 @@
<section id="samplecode">
<paragraph role="heading" id="hd_id3155338" xml-lang="en-US" level="1"><variable id="sample_code"><link href="text/sbasic/guide/sample_code.xhp">Programming Examples for Controls in the Dialog Editor</link>
</variable></paragraph>
-</section>
+</section>
<paragraph role="paragraph" id="par_id3153031" xml-lang="en-US">The following examples are for a new <link href="text/sbasic/guide/create_dialog.xhp">dialog</link> called "Dialog1". Use the tools on the <emph>Toolbox</emph> bar in the dialog editor to create the dialog and add the following controls: a <emph>Check Box</emph> called "CheckBox1", a <emph>Label Field</emph> called "Label1", a <emph>Button</emph> called "CommandButton1", and a <emph>List Box</emph> called "ListBox1".</paragraph>
<paragraph role="warning" id="par_id3154141" xml-lang="en-US">Be consistent with uppercase and lowercase letter when you attach a control to an object variable.</paragraph>
<paragraph role="heading" id="hd_id3154909" xml-lang="en-US" level="3">Global Function for Loading Dialogs</paragraph>
@@ -76,7 +76,7 @@
<bascode>
<paragraph role="bascode" id="par_id3159267" xml-lang="en-US" localize="false">Sub Sample1</paragraph>
<paragraph role="bascode" id="par_id6715588" xml-lang="en-US" localize="false"> With GlobalScope.Basiclibraries</paragraph>
-<paragraph role="bascode" id="par_id3148576" xml-lang="en-US" localize="false"> If Not .IsLibraryLoaded("Tools") Then .LoadLibrary("Tools")</paragraph>
+<paragraph role="bascode" id="par_id1148578" xml-lang="en-US" localize="false"> If Not .IsLibraryLoaded("Tools") Then .LoadLibrary("Tools")</paragraph>
<paragraph role="bascode" id="par_id5815588" xml-lang="en-US" localize="false"> End With</paragraph>
<paragraph role="bascode" id="par_id3163808" xml-lang="en-US" localize="false"> oDialog1 = Tools.LoadDialog("Standard", "Dialog1")</paragraph>
<paragraph role="bascode" id="par_id3145232" xml-lang="en-US"> REM get dialog model</paragraph>
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 @@
<paragraph role="paragraph" id="N0535">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 <link href="text/sbasic/shared/01040000.xhp">Event-Driven Macros</link> to learn how to associate Python macros to document events.</paragraph>
<pycode>
<paragraph role="pycode" localize="false" id="N0536"># -*- coding: utf-8 -*-</paragraph>
- <paragraph role="pycode" localize="false" id="N0536">from __future__ import unicode_literals</paragraph>
+ <paragraph role="pycode" localize="false" id="N0533">from __future__ import unicode_literals</paragraph>
<paragraph role="pycode" localize="false" id="N0537"> </paragraph>
<paragraph role="pycode" localize="false" id="N0538">import sys, uno</paragraph>
<paragraph role="pycode" localize="false" id="N0539"> </paragraph>
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 @@
<paragraph id="par_idm1341571778" role="bascode" localize="false">DefCur c,l-m</paragraph>
<paragraph id="par_idm1341571888" role="bascode" localize="false">DefDate t</paragraph>
<paragraph id="par_idm1341570656" role="bascode" localize="false">DefDbl f</paragraph>
- <paragraph id="par_idm1341570656" role="bascode" localize="false">DefErr e</paragraph>
+ <paragraph id="par_idm1341570657" role="bascode" localize="false">DefErr e</paragraph>
<paragraph id="par_idm1341569424" role="bascode" localize="false">DefInt i-k,N</paragraph>
<paragraph id="par_idm1341568192" role="bascode" localize="false">DefLng x-z, D</paragraph>
<paragraph id="par_idm1341566960" role="bascode" localize="false">DefObj U, o-R</paragraph>
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 @@
<paragraph id="par_id31541255547" role="bascode" xml-lang="en-US"> iPos = InStrRev(sInput,"the",10,1) ' Returns 1, search is case-insensitive</paragraph>
<paragraph id="par_idm1341605120" role="bascode" localize="false" xml-lang="en-US"> Print iPos </paragraph>
<paragraph id="par_id05192017032" role="bascode" xml-lang="en-US"> iPos = InStrRev(sInput,"the",10,0) ' Returns 0, search is case-sensitive</paragraph>
-<paragraph id="par_id05192017032" role="bascode" localize="false" xml-lang="en-US"> Print iPos</paragraph>
+<paragraph id="par_id05192017033" role="bascode" localize="false" xml-lang="en-US"> Print iPos</paragraph>
<paragraph id="par_idm1341603888" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>