summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibreOfficiant <LibreOfficiant@sfr.fr>2019-12-06 11:50:34 +0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2019-12-06 13:42:26 +0100
commitb223ac4af159aa84c25be88a478103402bbecd27 (patch)
tree7a08847d374a68860dc751f89e3592accf9e5517
parent4085fd5ed29dcf38914287d48c0642929c5a5994 (diff)
IsObject returns True for extented types too
Change-Id: If34385312976485b30efc60d6ffbfce9617d7d0a Reviewed-on: https://gerrit.libreoffice.org/84606 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--source/text/sbasic/shared/03102800.xhp11
1 files changed, 5 insertions, 6 deletions
diff --git a/source/text/sbasic/shared/03102800.xhp b/source/text/sbasic/shared/03102800.xhp
index 920c3b1773..bc884e18a9 100644
--- a/source/text/sbasic/shared/03102800.xhp
+++ b/source/text/sbasic/shared/03102800.xhp
@@ -33,19 +33,18 @@
<bookmark xml-lang="en-US" branch="index" id="bm_id3149346"><bookmark_value>IsObject function</bookmark_value>
</bookmark>
<paragraph role="heading" id="hd_id3149346" xml-lang="en-US" level="1"><link href="text/sbasic/shared/03102800.xhp" name="IsObject Function">IsObject Function</link></paragraph>
-<paragraph role="paragraph" id="par_id3148538" xml-lang="en-US">Tests if an object variable is an object (as opposed to, e.g. string). The function returns True if the variable is an object, otherwise it returns False.</paragraph>
+<paragraph role="paragraph" id="par_id3148538" xml-lang="en-US">Tests if a variable is an object, as opposed to primitive data types such as dates, numbers, texts. The function returns True if the variable is an object, otherwise it returns False.</paragraph>
</section>
<paragraph role="heading" id="hd_id3149234" xml-lang="en-US" level="2">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3154285" xml-lang="en-US">IsObject (ObjectVar)</paragraph>
+<paragraph role="bascode" id="par_id3154285" xml-lang="en-US">IsObject (var)</paragraph>
</bascode>
<paragraph role="heading" id="hd_id3148685" xml-lang="en-US" level="2">Return value:</paragraph>
-<paragraph role="paragraph" id="par_id3156024" xml-lang="en-US">Bool</paragraph>
+<paragraph role="paragraph" id="par_id3156024" xml-lang="en-US">Boolean</paragraph>
<paragraph role="heading" id="hd_id3148947" xml-lang="en-US" level="2">Parameters:</paragraph>
<paragraph role="paragraph" id="par_id3148552" xml-lang="en-US">
-<emph>ObjectVar:</emph> Any variable that you want to test. If the ObjectVar variable contains an object, the function returns True.</paragraph>
+<emph>var:</emph> Any variable that you want to test. If the var variable contains an extended type, object instance or OLE Object, the function returns True.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>
</body>
-</helpdocument>
-
+</helpdocument> \ No newline at end of file