From 32b4e8c9931810bf55bacc2c029e711d82b8c42f Mon Sep 17 00:00:00 2001 From: Stanislav Horacek Date: Sat, 4 Dec 2021 11:40:34 +0100 Subject: localize proper strings and fix example result for StrConv function Change-Id: I6bd2b9fda9217c589f6e53b0341d8028a6ca44c8 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/126348 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- source/text/sbasic/shared/strconv.xhp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/text/sbasic/shared/strconv.xhp b/source/text/sbasic/shared/strconv.xhp index f6e80813a8..e00a005e0f 100644 --- a/source/text/sbasic/shared/strconv.xhp +++ b/source/text/sbasic/shared/strconv.xhp @@ -133,10 +133,10 @@ - vbFromUnicode + vbFromUnicode - 128 + 128 Converts Text characters from Unicode to the default code page of the system. @@ -152,7 +152,7 @@ Sub Test_StrConv Print StrConv("abc EFG hij", vbUpperCase) '= "ABC EFG HIJ" Print StrConv("abc EFG hij", vbLowerCase) ' = "abc efg hij" - Print StrConv("abc EFG hij", vbProperCase) ' = "Abc Efg Hij" vbProperCase)") + Print StrConv("abc EFG hij", vbProperCase) ' = "Abc Efg Hij" REM Converts narrow (single-byte) characters in string to wide Print StrConv("ABCDEVB¥ì¥¹¥­¥å©", vbWide) ' = "ABCDEVB¥ì¥¹¥­¥å©" @@ -166,10 +166,10 @@ REM Converts Katakana characters in string to Hiragana characters Print StrConv("カタカナ", vbHiragana) '= "かたかな" - REM Assumes CP-1252 encoding associated with en-US locale used in unit tests. + REM Assumes CP-1252 encoding associated with en-US locale used in unit tests. Dim x() As Byte x = StrConv("ÉϺ£ÊÐABC", vbFromUnicode) - Print UBound(x) ' 8 characters + Print UBound(x) ' 8 characters Print x(2) ' = 186 Print StrConv(x, vbUnicode)' = "ÉϺ£ÊÐABC" End Sub -- cgit