diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-11-05 10:08:25 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2013-11-08 22:50:54 +0100 |
commit | 7e41301c059b69141fbec2ea9dbde937a768229e (patch) | |
tree | 98c2318e250adbe6d98bd7f854557f041b06a092 | |
parent | fb503301668895e0a28cca13414a5a6ce3b05630 (diff) |
fixup examples of CDate(From|To)Uno(Date|Time|DateTime)cp-4.1-9cp-4.1-8cp-4.1-7cp-4.1-6cp-4.1-5cp-4.1-4cp-4.1-3cp-4.1-2distro/collabora/cp-4.1
also mark them as non-localizable
Change-Id: I547317d52bf08bcfb0954267e25ce5f2881d1c75
Reviewed-on: https://gerrit.libreoffice.org/6578
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r-- | source/text/sbasic/shared/03030111.xhp | 4 | ||||
-rw-r--r-- | source/text/sbasic/shared/03030112.xhp | 4 | ||||
-rw-r--r-- | source/text/sbasic/shared/03030113.xhp | 4 | ||||
-rw-r--r-- | source/text/sbasic/shared/03030114.xhp | 4 | ||||
-rw-r--r-- | source/text/sbasic/shared/03030115.xhp | 2 | ||||
-rw-r--r-- | source/text/sbasic/shared/03030116.xhp | 2 |
6 files changed, 10 insertions, 10 deletions
diff --git a/source/text/sbasic/shared/03030111.xhp b/source/text/sbasic/shared/03030111.xhp index a38e325f93..9b13464ff5 100644 --- a/source/text/sbasic/shared/03030111.xhp +++ b/source/text/sbasic/shared/03030111.xhp @@ -50,8 +50,8 @@ <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 ExampleCDateToUnoDate</paragraph> - <paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U"> aDatabaseRow.updateDate(3, CDateToUnoDate(Now))</paragraph> - <paragraph role="bascode" id="par_id3153127" xml-lang="en-US" l10n="U"> aDateControl.Date = CDateToUnoDate(Now)</paragraph> + <paragraph role="bascode" localize="false" id="par_id3153126" xml-lang="en-US" l10n="U"> aDatabaseRow.updateDate(3, CDateToUnoDate(Now))</paragraph> + <paragraph role="bascode" localize="false" id="par_id3153127" xml-lang="en-US" l10n="U"> aDateControl.Date = CDateToUnoDate(Now)</paragraph> <paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> </bascode> </body> diff --git a/source/text/sbasic/shared/03030112.xhp b/source/text/sbasic/shared/03030112.xhp index d435880969..bfa889d8e9 100644 --- a/source/text/sbasic/shared/03030112.xhp +++ b/source/text/sbasic/shared/03030112.xhp @@ -50,8 +50,8 @@ <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_id3153127" xml-lang="en-US" l10n="U"> MsgBox(CDateFromUnoDate(aDateControl.Date))</paragraph> + <paragraph role="bascode" localize="false" id="par_id3153126" xml-lang="en-US" l10n="U"> MsgBox(CDateFromUnoDate(aDatabaseRow.getDate(3)))</paragraph> + <paragraph role="bascode" localize="false" 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> </body> diff --git a/source/text/sbasic/shared/03030113.xhp b/source/text/sbasic/shared/03030113.xhp index 4e63cd17e1..6957d162be 100644 --- a/source/text/sbasic/shared/03030113.xhp +++ b/source/text/sbasic/shared/03030113.xhp @@ -50,8 +50,8 @@ <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 ExampleCDateToUnoTime</paragraph> - <paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U"> aDatabaseRow.updateTime(3, CDateToUnoTime(Now))</paragraph> - <paragraph role="bascode" id="par_id3153127" xml-lang="en-US" l10n="U"> aTimeControl.Time = CDateToUnoTime(Now)</paragraph> + <paragraph role="bascode" localize="false" id="par_id3153126" xml-lang="en-US" l10n="U"> aDatabaseRow.updateTime(3, CDateToUnoTime(Now))</paragraph> + <paragraph role="bascode" localize="false" id="par_id3153127" xml-lang="en-US" l10n="U"> aTimeControl.Time = CDateToUnoTime(Now)</paragraph> <paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> </bascode> </body> diff --git a/source/text/sbasic/shared/03030114.xhp b/source/text/sbasic/shared/03030114.xhp index 833cf2bb87..eec641b51d 100644 --- a/source/text/sbasic/shared/03030114.xhp +++ b/source/text/sbasic/shared/03030114.xhp @@ -50,8 +50,8 @@ <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_id3153127" xml-lang="en-US" l10n="U"> MsgBox(CDateFromUnoTime(aTimeControl.Time))</paragraph> + <paragraph role="bascode" localize="false" id="par_id3153126" xml-lang="en-US" l10n="U"> MsgBox(CDateFromUnoTime(aDatabaseRow.getTime(3)))</paragraph> + <paragraph role="bascode" localize="false" 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> </body> diff --git a/source/text/sbasic/shared/03030115.xhp b/source/text/sbasic/shared/03030115.xhp index a8eb520231..52c21283ca 100644 --- a/source/text/sbasic/shared/03030115.xhp +++ b/source/text/sbasic/shared/03030115.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 ExampleCDateToUnoDateTime</paragraph> - <paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U"> aDatabaseRow.updateTimestamp(3, CDateToUnoDateTime(Now))</paragraph> + <paragraph role="bascode" localize="false" id="par_id3153126" xml-lang="en-US" l10n="U"> aDatabaseRow.updateTimestamp(3, CDateToUnoDateTime(Now))</paragraph> <paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> </bascode> </body> diff --git a/source/text/sbasic/shared/03030116.xhp b/source/text/sbasic/shared/03030116.xhp index 6142e74647..c39455dbed 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" localize="false" 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> |