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

Initialise an integer to 0, not false

Change-Id: I9d85f6a86d96353312bb00aeb1c173fa9fdfefda
üst 0a566089
......@@ -554,7 +554,7 @@ SwWordBasic::FileClose( const css::uno::Any& Save )
{
uno::Reference< frame::XModel > xModel( mpApp->getCurrentDocument(), uno::UNO_SET_THROW );
sal_Int16 nSave = false;
sal_Int16 nSave = 0;
if (Save.hasValue() && (Save >>= nSave) && (nSave == 0 || nSave == 1))
FileSave();
......
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