[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - lotuswordpro/source

Caolán McNamara caolanm at redhat.com
Thu Dec 10 04:07:27 PST 2015


 lotuswordpro/source/filter/bencont.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7638b0a939a09b23d095bb956051b539d1d9c9d7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Dec 10 11:42:46 2015 +0000

    use of uninitialized variable
    
    Change-Id: I1149eb9f5946228a2448c121e7ec7211861b3b3d
    (cherry picked from commit 65deab68f7918c82026951b04a414eefee2683b2)
    (cherry picked from commit 84facdc8305f1d00f661e58aa0c474c7233d47dc)
    Reviewed-on: https://gerrit.libreoffice.org/20593
    Reviewed-by: David Tardon <dtardon at redhat.com>
    Tested-by: David Tardon <dtardon at redhat.com>

diff --git a/lotuswordpro/source/filter/bencont.cxx b/lotuswordpro/source/filter/bencont.cxx
index a096951..3cb4a09 100644
--- a/lotuswordpro/source/filter/bencont.cxx
+++ b/lotuswordpro/source/filter/bencont.cxx
@@ -231,7 +231,7 @@ BenError LtcBenContainer::SeekFromEnd(long Offset)
 */
 LtcUtBenValueStream * LtcBenContainer::FindNextValueStreamWithPropertyName(const char * sPropertyName, LtcUtBenValueStream * pCurrentValueStream)
 {
-    CBenPropertyName * pPropertyName;
+    CBenPropertyName * pPropertyName(nullptr);
     RegisterPropertyName(sPropertyName, &pPropertyName);        // Get property name object
 
     if (NULL == pPropertyName)


More information about the Libreoffice-commits mailing list