Kaydet (Commit) e0e236c4 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

These static_cast's are very significant. Don't remove these.

This fixes the shared formula import from xls.

Change-Id: I8790e642c3ef1a335694891eb574a68ae5270649
üst e481282f
......@@ -84,8 +84,8 @@ public:
CPPUNIT_TEST(testContentXLSX);
CPPUNIT_TEST(testContentLotus123);
CPPUNIT_TEST(testContentDIF);
// CPPUNIT_TEST(testSharedFormulaXLS);
// CPPUNIT_TEST(testSharedFormulaXLSX);
CPPUNIT_TEST(testSharedFormulaXLS);
CPPUNIT_TEST(testSharedFormulaXLSX);
CPPUNIT_TEST(testLegacyCellAnchoredRotatedShape);
#if TEST_BUG_FILES
......
......@@ -1433,9 +1433,9 @@ void ExcelToSc8::ExcRelToScRel8( sal_uInt16 nRow, sal_uInt16 nC, ScSingleRefData
{
// C O L
if( bColRel )
rSRD.SetRelCol(nC);
rSRD.SetRelCol(static_cast<SCCOL>(static_cast<sal_Int8>(nC)));
else
rSRD.SetAbsCol(nCol);
rSRD.SetAbsCol(static_cast<SCCOL>(nCol));
// R O W
if( bRowRel )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment