To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90470
                 Issue #|90470
                 Summary|WaE: sc/source/core/data/dpcachetable.cxx
               Component|Spreadsheet
                 Version|1.0.0
                Platform|All
                     URL|
              OS/Version|Windows, all
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|kohei
             Reported by|pjanik





------- Additional comments from [EMAIL PROTECTED] Sat Jun  7 11:39:20 +0000 
2008 -------
Hi,

I get sal_Int32 -> SCCOL warnings.

This fixes it:

--- ooo_DEV300_m18_src.orig/sc/source/core/data/dpcachetable.cxx        
2008-06-07 
13:36:50.000000000 +0200
+++ ooo_DEV300_m18_src/sc/source/core/data/dpcachetable.cxx     2008-06-07 
13:37:14.000000000 +0200
@@ -650,7 +650,7 @@
                 // use this criterion.
                 continue;
 
-            const Cell* pCell = getCell(itr->mnFieldIndex, nRow, 
bRepeatIfEmpty);
+            const Cell* pCell = getCell(static_cast<SCCOL>(itr->mnFieldIndex), 
nRow, bRepeatIfEmpty);
             if (!pCell)
             {
                 // This should never happen, but just in case...
@@ -671,7 +671,7 @@
         // Insert this row into table.
 
         Sequence<Any> row(nColSize);
-        for (sal_Int32 nCol = 0; nCol < nColSize; ++nCol)
+        for (SCCOL nCol = 0; nCol < nColSize; ++nCol)
         {
             Any any;
             const Cell* pCell = getCell(nCol, nRow, bRepeatIfEmpty);

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to