summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-06-29 10:21:10 +0000
committerOcke Janssen <oj@openoffice.org>2001-06-29 10:21:10 +0000
commit6eb52909093fc0074248eb1d1bf3adce4dc1334d (patch)
treef282091d0f813c262fe956562415148b816da045
parent5e77830733e0618f2918693e5176cb69c091efb6 (diff)
#87998# correct some values of db types
-rw-r--r--dbaccess/source/ui/tabledesign/TableController.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx
index 179d740c1797..e25a292a7705 100644
--- a/dbaccess/source/ui/tabledesign/TableController.cxx
+++ b/dbaccess/source/ui/tabledesign/TableController.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: TableController.cxx,v $
*
- * $Revision: 1.38 $
+ * $Revision: 1.39 $
*
- * last change: $Author: fs $ $Date: 2001-06-21 17:47:38 $
+ * last change: $Author: oj $ $Date: 2001-06-29 11:21:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1174,7 +1174,7 @@ void OTableController::loadData()
// search for type
::std::pair<OTypeInfoMap::iterator, OTypeInfoMap::iterator> aPair = m_aTypeInfo.equal_range(nType);
OTypeInfoMap::iterator aIter = aPair.first;
- if(aIter == m_aTypeInfo.end())
+ if(aIter == m_aTypeInfo.end()) // compare with end is correct here
{
OSL_ENSURE(sal_False, "OTableController::loadData: no type info found for this type!");
continue;
@@ -1202,9 +1202,9 @@ void OTableController::loadData()
for(aIter = aPair.first; aIter != aPair.second; ++aIter)
{
// search the best matching type (now comparing the local names)
- if ( (aIter->second->aLocalTypeName == sTypeName)
- && (aIter->second->nPrecision >= nPrecision)
- && (aIter->second->nMaximumScale >= nScale)
+ if ( (aIter->second->aLocalTypeName == sTypeName)
+ && (aIter->second->nPrecision >= nPrecision)
+ && (aIter->second->nMaximumScale >= nScale)
)
{
OSL_ENSURE(sal_False,