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

Let's see if stripping the const here will fix the clang build...

Change-Id: Ia019157bd5d2b8ce18550b468de1269b2737ff02
üst 73b05f75
...@@ -502,7 +502,10 @@ void ScMatrixImpl::PutDouble(double fVal, SCSIZE nC, SCSIZE nR) ...@@ -502,7 +502,10 @@ void ScMatrixImpl::PutDouble(double fVal, SCSIZE nC, SCSIZE nR)
void ScMatrixImpl::PutDouble(const double* pArray, size_t nLen, SCSIZE nC, SCSIZE nR) void ScMatrixImpl::PutDouble(const double* pArray, size_t nLen, SCSIZE nC, SCSIZE nR)
{ {
if (ValidColRow( nC, nR)) if (ValidColRow( nC, nR))
maMat.set(nR, nC, pArray, pArray + nLen); {
double* p = const_cast<double*>(pArray);
maMat.set(nR, nC, p, p + nLen);
}
else else
{ {
OSL_FAIL("ScMatrixImpl::PutDouble: dimension error"); OSL_FAIL("ScMatrixImpl::PutDouble: dimension error");
......
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