[Libreoffice-commits] core.git: connectivity/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Wed Apr 17 09:27:18 UTC 2019


 connectivity/source/commontools/dbtools.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6d3204e9b1c7ececff7100c3ffa0aa6dade6b9f6
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Wed Apr 10 16:05:22 2019 +0000
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Wed Apr 17 11:25:45 2019 +0200

    Fix typo
    
    Change-Id: I6307b00dfc1dad4cc0b22bfd6d142d54a1c96c92
    Reviewed-on: https://gerrit.libreoffice.org/70852
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx
index c7d817329664..1e3f51ec00e2 100644
--- a/connectivity/source/commontools/dbtools.cxx
+++ b/connectivity/source/commontools/dbtools.cxx
@@ -890,7 +890,7 @@ Reference< XNumberFormatsSupplier> getNumberFormats(
             bool _bAlloweDefault,
             const Reference< XComponentContext>& _rxContext)
 {
-    // ask the parent of the connection (should be an DatabaseAccess)
+    // ask the parent of the connection (should be a DatabaseAccess)
     Reference< XNumberFormatsSupplier> xReturn;
     Reference< XChild> xConnAsChild(_rxConn, UNO_QUERY);
     OUString sPropFormatsSupplier( "NumberFormatsSupplier" );
@@ -1040,7 +1040,7 @@ try
                 // The Effective-Properties should always be void or string or double ....
 
             if (hasProperty(sPropDefaultDate, xNewProps) && !bIsString)
-            {   // (to convert a OUString into a date will not always succeed, because it might be bound to a text-column,
+            {   // (to convert an OUString into a date will not always succeed, because it might be bound to a text-column,
                 // but we can work with a double)
                 Date aDate = DBTypeConversion::toDate(getDouble(aEffectiveDefault));
                 xNewProps->setPropertyValue(sPropDefaultDate, makeAny(aDate));


More information about the Libreoffice-commits mailing list