diff options
Diffstat (limited to 'source/text/sbasic/shared/03131700.xhp')
-rw-r--r-- | source/text/sbasic/shared/03131700.xhp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/source/text/sbasic/shared/03131700.xhp b/source/text/sbasic/shared/03131700.xhp index 1ee4a8d0ae..c358d29d36 100644 --- a/source/text/sbasic/shared/03131700.xhp +++ b/source/text/sbasic/shared/03131700.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="textsbasicshared03131700xml" indexer="include" status="PUBLISH"> @@ -40,12 +39,14 @@ <paragraph role="paragraph" id="par_id3145136" xml-lang="en-US">This function is required when you want to instantiate a service using CreateInstanceWithArguments.</paragraph> <paragraph role="heading" id="hd_id3153681" xml-lang="en-US" level="2">Syntax:</paragraph> <bascode> -<paragraph role="bascode" id="par_id3151110" xml-lang="en-US">oServiceManager = GetProcessServiceManager()</paragraph> +<paragraph role="bascode" localize="false" id="par_id3151110" xml-lang="en-US">oServiceManager = GetProcessServiceManager()</paragraph> </bascode> <paragraph role="heading" id="hd_id3149516" xml-lang="en-US" level="2">Example:</paragraph> -<paragraph role="paragraph" id="par_id3143270" xml-lang="en-US">oServiceManager = GetProcessServiceManager()</paragraph> -<paragraph role="paragraph" id="par_id3153825" xml-lang="en-US">oIntrospection = oServiceManager.createInstance("com.sun.star.beans.Introspection");</paragraph> -<paragraph role="paragraph" id="par_id3148473" xml-lang="en-US">this is the same as the following statement:</paragraph> -<paragraph role="paragraph" id="par_id3145609" xml-lang="en-US">oIntrospection = CreateUnoService("com.sun.star.beans.Introspection")</paragraph> +<bascode> + <paragraph role="bascode" localize="false" id="par_id3143270" xml-lang="en-US">oServiceManager = GetProcessServiceManager()</paragraph> + <paragraph role="bascode" localize="false" id="par_id3153825" xml-lang="en-US">oIntrospection = oServiceManager.createInstance("com.sun.star.beans.Introspection");</paragraph> + <paragraph role="bascode" id="par_id3148473" xml-lang="en-US">' this is the same as the following statement:</paragraph> + <paragraph role="bascode" localize="false" id="par_id3145609" xml-lang="en-US">oIntrospection = CreateUnoService("com.sun.star.beans.Introspection")</paragraph> +</bascode> </body> </helpdocument> |