[Libreoffice-commits] help.git: source/text

Steve Fanning (via logerrit) logerrit at kemper.freedesktop.org
Mon Jun 28 20:34:15 UTC 2021


 source/text/scalc/01/04060110.xhp |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 1f77c92e446c0b66656b82ae04862528d425a30e
Author:     Steve Fanning <stevemfanning at yahoo.co.uk>
AuthorDate: Mon Jun 28 21:35:58 2021 +0200
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Mon Jun 28 22:33:55 2021 +0200

    Fix minor typos in help examples for Calc's LEFTB function.
    
    Change-Id: I5d8cdf1898f9b5823acc1e3381bbe3abb06551e3
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/118052
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/source/text/scalc/01/04060110.xhp b/source/text/scalc/01/04060110.xhp
index 26d6abc9f..4049249c3 100644
--- a/source/text/scalc/01/04060110.xhp
+++ b/source/text/scalc/01/04060110.xhp
@@ -392,11 +392,11 @@
 <paragraph id="par_id2953152" role="paragraph" xml-lang="en-US"><emph>Number_bytes</emph> (optional) specifies the number of characters you want LEFTB to extract, based on bytes. If this parameter is not defined, one character is returned.</paragraph>
 
 <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
-<paragraph id="par_id2949141" role="paragraph" xml-lang="en-US"><item type="input">LEFTB("中国";1)</item> returns " " (1 byte is only half a DBCS character and a space character is returned instead).</paragraph>
-<paragraph id="par_id2949151" role="paragraph" xml-lang="en-US"><item type="input">LEFTB("中国";2)</item> returns "中" (2 bytes constitute one complete DBCS character).</paragraph>
-<paragraph id="par_id2949161" role="paragraph" xml-lang="en-US"><item type="input">LEFTB("中国";3)</item> returns "中 " (3 bytes constitute one DBCS character and a half; the last character returned is therefore a space character).</paragraph>
-<paragraph id="par_id2949171" role="paragraph" xml-lang="en-US"><item type="input">LEFTB("中国";4)</item> returns "中国" (4 bytes constitute two complete DBCS characters).</paragraph>
-<paragraph id="par_id2949181" role="paragraph" xml-lang="en-US"><item type="input">LEFTB("office";3)</item> returns "off" (3 non-DBCS characters each consisting of 1 byte).</paragraph>
+<paragraph id="par_id2949141" role="paragraph" xml-lang="en-US"><item type="input">=LEFTB("中国";1)</item> returns " " (1 byte is only half a DBCS character and a space character is returned instead).</paragraph>
+<paragraph id="par_id2949151" role="paragraph" xml-lang="en-US"><item type="input">=LEFTB("中国";2)</item> returns "中" (2 bytes constitute one complete DBCS character).</paragraph>
+<paragraph id="par_id2949161" role="paragraph" xml-lang="en-US"><item type="input">=LEFTB("中国";3)</item> returns "中 " (3 bytes constitute one DBCS character and a half; the last character returned is therefore a space character).</paragraph>
+<paragraph id="par_id2949171" role="paragraph" xml-lang="en-US"><item type="input">=LEFTB("中国";4)</item> returns "中国" (4 bytes constitute two complete DBCS characters).</paragraph>
+<paragraph id="par_id2949181" role="paragraph" xml-lang="en-US"><item type="input">=LEFTB("office";3)</item> returns "off" (3 non-DBCS characters each consisting of 1 byte).</paragraph>
 </section>
 
 <section id="len">


More information about the Libreoffice-commits mailing list