summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2014-08-20 10:00:21 +0200
committerDavid Tardon <dtardon@redhat.com>2014-08-20 10:08:49 +0200
commit238d6ac878fd5ebc7d5534674b5b98cdac15cf17 (patch)
tree4cc413c6df6a98212f2d64c1792ab54d52112bfe /connectivity
parent0a42632a74596cbc781746931bf8f2650994b80f (diff)
this assert does not make sense
... as the code apparently can work even if xFormatTypes is empty. Change-Id: I6b733b9b31329d4fafc745bc23d0f555286950e6
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/commontools/DateConversion.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/connectivity/source/commontools/DateConversion.cxx b/connectivity/source/commontools/DateConversion.cxx
index 954e9878413a..37806085bfc5 100644
--- a/connectivity/source/commontools/DateConversion.cxx
+++ b/connectivity/source/commontools/DateConversion.cxx
@@ -252,7 +252,6 @@ void DBTypeConversion::setValue(const Reference<XColumnUpdate>& xVariant,
double fValue = xFormatter->convertStringToNumber(nKeyToUse, rString);
Reference< XNumberFormats > xFormats(xFormatter->getNumberFormatsSupplier()->getNumberFormats());
Reference< XNumberFormatTypes > xFormatTypes(xFormats, UNO_QUERY);
- assert(xFormatTypes.is());
sal_Int32 nStandardKey(0);
if(xFormatTypes.is())
{