Tag: cws_src680_dba24c
User: oj      
Date: 2007-10-10 09:40:37+0000
Modified:
   dba/dbaccess/source/ui/misc/DExport.cxx

Log:
 #i81879# correction of numberformat usage

File Changes:

Directory: /dba/dbaccess/source/ui/misc/
========================================

File [changed]: DExport.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/DExport.cxx?r1=1.38.4.1&r2=1.38.4.2
Delta lines:  +4 -4
-------------------
--- DExport.cxx 2007-10-02 08:09:18+0000        1.38.4.1
+++ DExport.cxx 2007-10-10 09:40:34+0000        1.38.4.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: DExport.cxx,v $
  *
- *  $Revision: 1.38.4.1 $
+ *  $Revision: 1.38.4.2 $
  *
- *  last change: $Author: oj $ $Date: 2007/10/02 08:09:18 $
+ *  last change: $Author: oj $ $Date: 2007/10/10 09:40:34 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -632,7 +632,7 @@
                {
                        sal_Int32 nDataType;
                        sal_Int32 nLength(0),nScale(0);
-            OSL_ENSURE((i) < 
static_cast<sal_Int32>(m_vFormatKey.size()),"m_vFormatKey: Illegal index for 
vector");
+            OSL_ENSURE((i) < 
static_cast<sal_Int32>(m_vNumberFormat.size()),"m_vFormatKey: Illegal index for 
vector");
             OSL_ENSURE((i) < 
static_cast<sal_Int32>(m_vColumnSize.size()),"m_vColumnSize: Illegal index for 
vector");
                    sal_Int16 nType = m_vNumberFormat[i];
                    
@@ -897,7 +897,7 @@
                    if( nColPos != sal::static_int_cast< long 
>(CONTAINER_ENTRY_NOTFOUND))
                    {
                 --nColPos;
-                OSL_ENSURE((nColPos) < 
static_cast<sal_Int32>(m_vFormatKey.size()),"m_vFormatKey: Illegal index for 
vector");
+                OSL_ENSURE((nColPos) < 
static_cast<sal_Int32>(m_vNumberFormat.size()),"m_vFormatKey: Illegal index for 
vector");
                 OSL_ENSURE((nColPos) < 
static_cast<sal_Int32>(m_vColumnSize.size()),"m_vColumnSize: Illegal index for 
vector");
                            m_vNumberFormat[nColPos] = 
CheckString(m_sTextToken,m_vNumberFormat[nColPos]);
                            m_vColumnSize[nColPos] = 
::std::max<sal_Int32>((sal_Int32)m_vColumnSize[nColPos],(sal_Int32)m_sTextToken.Len());




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to