summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbaapplication.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-02-15 12:37:11 +0200
committerTor Lillqvist <tml@collabora.com>2019-02-15 12:37:50 +0200
commit58a2473d6672eb4ae4f55c3fe4c25ea23d932db5 (patch)
treed96bc688048a8805ce78f40d7104873e39dd6f4c /sw/source/ui/vba/vbaapplication.cxx
parent0a5660899790be31828ea37b3241a91554aadeb7 (diff)
Initialise an integer to 0, not false
Change-Id: I9d85f6a86d96353312bb00aeb1c173fa9fdfefda
Diffstat (limited to 'sw/source/ui/vba/vbaapplication.cxx')
-rw-r--r--sw/source/ui/vba/vbaapplication.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx
index 767709ad40c4..962029e793ff 100644
--- a/sw/source/ui/vba/vbaapplication.cxx
+++ b/sw/source/ui/vba/vbaapplication.cxx
@@ -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();