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

Prevent crash.

Change-Id: Id30e6dfa14c08ecad5c15df6a79d20a5cdc50a59
üst 73d713a1
...@@ -119,8 +119,11 @@ bool ScDocument::CopyOneCellFromClip( ...@@ -119,8 +119,11 @@ bool ScDocument::CopyOneCellFromClip(
{ {
bool bPaste = rCxt.isDateCell(pSrcTab->aCol[aSrcPos.Col()], aSrcPos.Row()) ? bDateTime : bNumeric; bool bPaste = rCxt.isDateCell(pSrcTab->aCol[aSrcPos.Col()], aSrcPos.Row()) ? bDateTime : bNumeric;
if (!bPaste) if (!bPaste)
{
// Don't paste this. // Don't paste this.
rSrcCell.clear(); rSrcCell.clear();
break;
}
// Turn this into a numeric cell. // Turn this into a numeric cell.
rSrcCell.set(rSrcCell.mpFormula->GetValue()); rSrcCell.set(rSrcCell.mpFormula->GetValue());
......
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