diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-10-24 07:20:24 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-10-24 07:20:24 +0000 |
commit | 0e649604b829506228a94a348e0a748a01bfff19 (patch) | |
tree | ccd3f2b6bd34b0b874c30f5323b985d0fdaee6a0 /connectivity | |
parent | 741b5a479a571967433d1eaea165627a1cf849de (diff) |
INTEGRATION: CWS dba201d (1.13.10); FILE MERGED
2005/09/27 08:12:26 oj 1.13.10.1: commits from dba201c
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/commontools/DateConversion.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/connectivity/source/commontools/DateConversion.cxx b/connectivity/source/commontools/DateConversion.cxx index ef0c790775fe..650cf53398ff 100644 --- a/connectivity/source/commontools/DateConversion.cxx +++ b/connectivity/source/commontools/DateConversion.cxx @@ -4,9 +4,9 @@ * * $RCSfile: DateConversion.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: rt $ $Date: 2005-09-08 05:09:08 $ + * last change: $Author: rt $ $Date: 2005-10-24 08:20:24 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -146,15 +146,14 @@ using namespace ::com::sun::star::beans; DateTime aDateTime; // check if this is really a timestamp or only a date - if ((_rVal >>= aDateTime) && - (aDateTime.Hours || aDateTime.Minutes || aDateTime.Seconds || aDateTime.HundredthSeconds)) + if ( _rVal >>= aDateTime ) { if (bQuote) aRet += ::rtl::OUString::createFromAscii("{TS '"); aRet += DBTypeConversion::toDateTimeString(aDateTime); if (bQuote) aRet += ::rtl::OUString::createFromAscii("'}"); break; } - // else continue + break; } case DataType::DATE: { |