Kaydet (Commit) a1a480f9 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Wa: C4701: potentially uninitialized local variable 'fVal' used

Change-Id: I579205c4cdc3149ef0c1b01daef32155a13d666b
üst 8b6ce55b
...@@ -263,7 +263,7 @@ void ScViewFunc::InsertCurrentTime(short nCellFmt, const OUString& rUndoStr) ...@@ -263,7 +263,7 @@ void ScViewFunc::InsertCurrentTime(short nCellFmt, const OUString& rUndoStr)
assert(!"unhandled current date/time request"); assert(!"unhandled current date/time request");
nCellFmt = NUMBERFORMAT_DATETIME; nCellFmt = NUMBERFORMAT_DATETIME;
} }
double fVal; double fVal(0);
switch (nCellFmt) switch (nCellFmt)
{ {
case NUMBERFORMAT_DATE: case NUMBERFORMAT_DATE:
......
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