summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/03104600.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'source/text/sbasic/shared/03104600.xhp')
-rw-r--r--source/text/sbasic/shared/03104600.xhp23
1 files changed, 12 insertions, 11 deletions
diff --git a/source/text/sbasic/shared/03104600.xhp b/source/text/sbasic/shared/03104600.xhp
index e01a096070..e47a87feb2 100644
--- a/source/text/sbasic/shared/03104600.xhp
+++ b/source/text/sbasic/shared/03104600.xhp
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-
<!--
* This file is part of the LibreOffice project.
*
@@ -18,7 +17,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
-
+
<helpdocument version="1.0">
<meta>
<topic id="textsbasicshared03104600xml" indexer="include" status="PUBLISH">
@@ -38,18 +37,20 @@
</section>
<paragraph role="heading" id="hd_id3148538" xml-lang="en-US" level="2">Syntax:</paragraph>
<bascode>
-<paragraph role="bascode" id="par_id3150669" xml-lang="en-US">EqualUnoObjects( oObj1, oObj2 )</paragraph>
+<paragraph role="bascode" localize="false" id="par_id3150669" xml-lang="en-US">EqualUnoObjects( oObj1, oObj2 )</paragraph>
</bascode>
<paragraph role="heading" id="hd_id3150984" xml-lang="en-US" level="2">Return value:</paragraph>
<paragraph role="paragraph" id="par_id3154285" xml-lang="en-US">Bool</paragraph>
<paragraph role="heading" id="hd_id3145315" xml-lang="en-US" level="2">Example:</paragraph>
-<paragraph role="paragraph" id="par_id3156024" xml-lang="en-US">// Copy of objects -&gt; same instance</paragraph>
-<paragraph role="paragraph" id="par_id3154923" xml-lang="en-US">oIntrospection = CreateUnoService( "com.sun.star.beans.Introspection" )</paragraph>
-<paragraph role="paragraph" id="par_id3147559" xml-lang="en-US">oIntro2 = oIntrospection</paragraph>
-<paragraph role="paragraph" id="par_id3150541" xml-lang="en-US">print EqualUnoObjects( oIntrospection, oIntro2 )</paragraph>
-<paragraph role="paragraph" id="par_id3153525" xml-lang="en-US">// Copy of structs as value -&gt; new instance</paragraph>
-<paragraph role="paragraph" id="par_id3154366" xml-lang="en-US">Dim Struct1 as new com.sun.star.beans.Property</paragraph>
-<paragraph role="paragraph" id="par_id3154348" xml-lang="en-US">Struct2 = Struct1</paragraph>
-<paragraph role="paragraph" id="par_id3154125" xml-lang="en-US">print EqualUnoObjects( Struct1, Struct2 )</paragraph>
+<bascode>
+ <paragraph role="bascode" id="par_id3156024" xml-lang="en-US">' Copy of objects -&gt; same instance</paragraph>
+ <paragraph role="bascode" localize="false" id="par_id3154923" xml-lang="en-US">oIntrospection = CreateUnoService( "com.sun.star.beans.Introspection" )</paragraph>
+ <paragraph role="bascode" localize="false" id="par_id3147559" xml-lang="en-US">oIntro2 = oIntrospection</paragraph>
+ <paragraph role="bascode" localize="false" id="par_id3150541" xml-lang="en-US">print EqualUnoObjects( oIntrospection, oIntro2 )</paragraph>
+ <paragraph role="bascode" id="par_id3153525" xml-lang="en-US">' Copy of structs as value -&gt; new instance</paragraph>
+ <paragraph role="bascode" localize="false" id="par_id3154366" xml-lang="en-US">Dim Struct1 as new com.sun.star.beans.Property</paragraph>
+ <paragraph role="bascode" localize="false" id="par_id3154348" xml-lang="en-US">Struct2 = Struct1</paragraph>
+ <paragraph role="bascode" localize="false" id="par_id3154125" xml-lang="en-US">print EqualUnoObjects( Struct1, Struct2 )</paragraph>
+</bascode>
</body>
</helpdocument>