[Libreoffice-commits] help.git: Branch 'libreoffice-4-1' - source/text

Lionel Elie Mamane lionel at mamane.lu
Tue Nov 5 13:53:33 CET 2013


 source/text/sbasic/shared/03030111.xhp |    4 ++--
 source/text/sbasic/shared/03030112.xhp |    4 ++--
 source/text/sbasic/shared/03030113.xhp |    4 ++--
 source/text/sbasic/shared/03030114.xhp |    4 ++--
 source/text/sbasic/shared/03030115.xhp |    2 +-
 source/text/sbasic/shared/03030116.xhp |    2 +-
 6 files changed, 10 insertions(+), 10 deletions(-)

New commits:
commit 1acc4c2f499813c5b4b88830b8fb111e89d84098
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Tue Nov 5 10:08:25 2013 +0100

    fixup examples of CDate(From|To)Uno(Date|Time|DateTime)
    
    also mark them as non-localizable
    
    Change-Id: I547317d52bf08bcfb0954267e25ce5f2881d1c75
    Reviewed-on: https://gerrit.libreoffice.org/6578
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/source/text/sbasic/shared/03030111.xhp b/source/text/sbasic/shared/03030111.xhp
index a38e325..9b13464 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 d435880..bfa889d 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 4e63cd1..6957d16 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 833cf2b..eec641b 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 a8eb520..52c2128 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 6142e74..c39455d 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>


More information about the Libreoffice-commits mailing list