Kaydet (Commit) ba11b28c authored tarafından Eike Rathke's avatar Eike Rathke

Use Date(css::util::Date) ctor

Change-Id: I99fa34fe3177bced41b16660ef1c3548b55ec60d
üst 45a1a762
......@@ -95,9 +95,7 @@ void ScDatabaseDocUtil::PutData( ScDocument* pDoc, SCCOL nCol, SCROW nRow, SCTAB
SvNumberFormatter* pFormTable = pDoc->GetFormatTable();
nFormatIndex = pFormTable->GetStandardFormat(
css::util::NumberFormat::DATE, ScGlobal::eLnge );
nVal = Date( aDate.Day, aDate.Month, aDate.Year ) -
*pFormTable->GetNullDate();
nVal = Date( aDate ) - *pFormTable->GetNullDate();
}
bValue = true;
}
......
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