diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-11-05 10:08:25 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-11-05 10:09:35 +0100 |
commit | 5e583229241ba0d1b5de8567645f45bde38f081f (patch) | |
tree | a17bede839c32c48874000ef0230b611f9792b14 | |
parent | a2d57f0988aa22e174f5905756a2ed931e59d2f2 (diff) |
fixup examples of CDate(From|To)Uno(Date|Time|DateTime)
Change-Id: I547317d52bf08bcfb0954267e25ce5f2881d1c75
-rw-r--r-- | source/text/sbasic/shared/03030112.xhp | 2 | ||||
-rw-r--r-- | source/text/sbasic/shared/03030114.xhp | 2 | ||||
-rw-r--r-- | source/text/sbasic/shared/03030116.xhp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source/text/sbasic/shared/03030112.xhp b/source/text/sbasic/shared/03030112.xhp index 44f83c1dac..9772106d3d 100644 --- a/source/text/sbasic/shared/03030112.xhp +++ b/source/text/sbasic/shared/03030112.xhp @@ -50,7 +50,7 @@ <paragraph role="heading" id="hd_id3147243" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph> <bascode> <paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleCDateFromUnoDate</paragraph> - <paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U"> MsgBox(aDatabaseRow.getDate(3))</paragraph> + <paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U"> MsgBox(CDateFromUnoDate(aDatabaseRow.getDate(3)))</paragraph> <paragraph role="bascode" id="par_id3153127" xml-lang="en-US" l10n="U"> MsgBox(CDateFromUnoDate(aDateControl.Date))</paragraph> <paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> </bascode> diff --git a/source/text/sbasic/shared/03030114.xhp b/source/text/sbasic/shared/03030114.xhp index 7334a77d7c..c4d780f308 100644 --- a/source/text/sbasic/shared/03030114.xhp +++ b/source/text/sbasic/shared/03030114.xhp @@ -50,7 +50,7 @@ <paragraph role="heading" id="hd_id3147243" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph> <bascode> <paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleCDateFromUnoTime</paragraph> - <paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U"> MsgBox(aDatabaseRow.getTime(3))</paragraph> + <paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U"> MsgBox(CDateFromUnoTime(aDatabaseRow.getTime(3)))</paragraph> <paragraph role="bascode" id="par_id3153127" xml-lang="en-US" l10n="U"> MsgBox(CDateFromUnoTime(aTimeControl.Time))</paragraph> <paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> </bascode> diff --git a/source/text/sbasic/shared/03030116.xhp b/source/text/sbasic/shared/03030116.xhp index 4376cf8522..fdd92e376c 100644 --- a/source/text/sbasic/shared/03030116.xhp +++ b/source/text/sbasic/shared/03030116.xhp @@ -50,7 +50,7 @@ <paragraph role="heading" id="hd_id3147243" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph> <bascode> <paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleCDateFromUnoDateTime</paragraph> - <paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U"> MsgBox(aDatabaseRow.getTime(3))</paragraph> + <paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U"> MsgBox(CDateFromUnoDateTime(aDatabaseRow.getTimestamp(3)))</paragraph> <paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> </bascode> </body> |