source/text/sbasic/shared/03132300.xhp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 87ab46fd2271fcf09ffc8a94bc403c3cf7082752
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Fri Mar 18 08:14:43 2022 +0100
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Fri Mar 18 08:47:32 2022 +0100

    Fix service name
    
    Change-Id: I3f8fcc74afe4ed64c64a5ee8beb41fe289ec7763
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/131604
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/source/text/sbasic/shared/03132300.xhp 
b/source/text/sbasic/shared/03132300.xhp
index e405a5a3e..0a490c7a3 100644
--- a/source/text/sbasic/shared/03132300.xhp
+++ b/source/text/sbasic/shared/03132300.xhp
@@ -39,7 +39,7 @@
 <paragraph role="note" id="par_id3153626" xml-lang="en-US">The $[officename] 
API frequently uses the Any type. It is the counterpart of the Variant type 
known from other environments. The Any type holds one arbitrary Uno type and is 
used in generic Uno interfaces.</paragraph>
 <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
 <paragraph role="code" id="par_id3154760" xml-lang="en-US">oUnoValue = 
CreateUnoValue( "[]byte", MyBasicValue ) ' to get a byte sequence.</paragraph>
-<paragraph role="paragraph" id="par_id3150541" xml-lang="en-US">If 
<literal>CreateUnoValue</literal> cannot be converted to the specified Uno 
type, and error occurs. For the conversion, the 
<literal>TypeConverter</literal> service is used.</paragraph>
+<paragraph role="paragraph" id="par_id3150541" xml-lang="en-US">If 
<literal>CreateUnoValue</literal> cannot be converted to the specified Uno 
type, and error occurs. For the conversion, the 
<literal>com.sun.star.script.Converter</literal> service is used.</paragraph>
 <paragraph role="paragraph" id="par_id3153524" xml-lang="en-US">This function 
is intended for use in situations where the default Basic to Uno type 
converting mechanism is insufficient. This can happen when you try to access 
generic Any based interfaces, such as <literal>XPropertySet::setPropertyValue( 
Name, Value )</literal> or <literal>X???Container::insertBy???( ???, Value 
)</literal>, from $[officename] Basic. The Basic runtime does not recognize 
these types as they are only defined in the corresponding service.</paragraph>
 <paragraph role="paragraph" id="par_id3154366" xml-lang="en-US">In this type 
of situation, $[officename] Basic chooses the best matching type for the Basic 
type that you want to convert. However, if the wrong type is selected, an error 
occurs. You use the <literal>CreateUnoValue()</literal> function to create a 
value for the unknown Uno type.</paragraph>
 <paragraph role="paragraph" id="par_id3150769" xml-lang="en-US">You can also 
use this function to pass non-Any values, but this is not recommend. If Basic 
already knows the target type, using the <literal>CreateUnoValue()</literal> 
function will only lead to additional converting operations that slow down the 
Basic execution.</paragraph>

Reply via email to