sw/source/ui/vba/vbaapplication.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 58a2473d6672eb4ae4f55c3fe4c25ea23d932db5
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Fri Feb 15 12:37:11 2019 +0200
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Fri Feb 15 12:37:50 2019 +0200

    Initialise an integer to 0, not false
    
    Change-Id: I9d85f6a86d96353312bb00aeb1c173fa9fdfefda

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();
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to