To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72939
                 Issue #|72939
                 Summary|sc/source/core/data/table4.cxx compile failure
               Component|Spreadsheet
                 Version|680m198
                Platform|Opteron/x86_64
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P1
            Subcomponent|code
             Assigned to|er
             Reported by|pjanik





------- Additional comments from [EMAIL PROTECTED] Wed Dec 27 00:43:22 -0800 
2006 -------
on Opteron:

/data/oo/BuildDir/ooo_SRC680_m198_src/sc/source/core/data/table4.cxx: In member 
function 'String 
ScTable::GetAutoFillPreview(const ScRange&, SCCOL, SCROW)':
/data/oo/BuildDir/ooo_SRC680_m198_src/sc/source/core/data/table4.cxx:1050: 
error: invalid 
initialization of reference of type 'long int&' from expression of type 
'sal_Int32'
/data/oo/BuildDir/ooo_SRC680_m198_src/sc/source/core/data/table4.cxx:99: error: 
in passing 
argument 2 of 'short int lcl_DecompValueString(String&, long int&, USHORT*)'

This is because of 

revision 1.17
date: 2006/12/19 18:01:02;  author: ihi;  state: Exp;  lines: +58 -8
INTEGRATION: CWS caloc (1.16.100); FILE MERGED
2006/11/08 18:51:14 er 1.16.100.1: #i47233# fill cells taking OrdinalSuffix 
into account; contributed 
by Muthu Subramanian <[EMAIL PROTECTED]>

This fixes it for me:

diff -urN ooo_SRC680_m198_src.orig/sc/source/core/data/table4.cxx 
ooo_SRC680_m198_src/sc/
source/core/data/table4.cxx
--- ooo_SRC680_m198_src.orig/sc/source/core/data/table4.cxx
        2006-12-22 21:56:13.000000000 +0100
+++ ooo_SRC680_m198_src/sc/source/core/data/table4.cxx  2006-12-22 
21:58:22.000000000 
+0100
@@ -1032,7 +1032,7 @@
                {
                        BOOL bOk;
                        double nStart;
-                       sal_Int32 nVal;
+                       long nVal;
                        short nHeadNoneTail = 0;
                        ScBaseCell*     pCell = GetCell( nCol1, nRow1 );
                        if ( pCell )

---------------------------------------------------------------------
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