[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Tue Oct 8 08:08:17 PDT 2013


 sw/source/core/swg/swblocks.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit cd910534d884921b9ca179eff00248c6b16f9a4f
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Oct 8 16:07:02 2013 +0100

    CID#1079273 uninitialized member variables
    
    and CID#1079274
    
    Change-Id: Ia263d06e40093a58e5a37f4ad3848d2c2fd61fa4

diff --git a/sw/source/core/swg/swblocks.cxx b/sw/source/core/swg/swblocks.cxx
index aaf0aea..a339db7 100644
--- a/sw/source/core/swg/swblocks.cxx
+++ b/sw/source/core/swg/swblocks.cxx
@@ -60,14 +60,15 @@ sal_uInt16 SwImpBlocks::Hash( const OUString& r )
 
 SwBlockName::SwBlockName( const OUString& rShort, const OUString& rLong )
     : aShort( rShort ), aLong( rLong ), aPackageName (rShort),
-    bIsOnlyTxtFlagInit( sal_False ), bIsOnlyTxt( sal_False )
+    bIsOnlyTxtFlagInit( sal_False ), bIsOnlyTxt( sal_False ), bInPutMuchBlocks(false)
 {
     nHashS = SwImpBlocks::Hash( rShort );
     nHashL = SwImpBlocks::Hash( rLong );
 }
+
 SwBlockName::SwBlockName( const OUString& rShort, const OUString& rLong, const OUString& rPackageName)
     : aShort( rShort ), aLong( rLong ), aPackageName (rPackageName),
-    bIsOnlyTxtFlagInit( sal_False ), bIsOnlyTxt( sal_False )
+    bIsOnlyTxtFlagInit( sal_False ), bIsOnlyTxt( sal_False ), bInPutMuchBlocks(false)
 {
     nHashS = SwImpBlocks::Hash( rShort );
     nHashL = SwImpBlocks::Hash( rLong );


More information about the Libreoffice-commits mailing list