summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-10 11:42:46 +0000
committerAndras Timar <andras.timar@collabora.com>2015-12-10 16:14:45 +0100
commit51d1071053319194781f627d91acfa4c2e8c44c4 (patch)
tree72af73e99bc6627b5fdf113de7b7dd33c58312c1 /lotuswordpro
parent867f7144ffc88ab15ad84708484665483c6dd3f4 (diff)
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@redhat.com> Tested-by: David Tardon <dtardon@redhat.com> (cherry picked from commit 7638b0a939a09b23d095bb956051b539d1d9c9d7)
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/bencont.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/bencont.cxx b/lotuswordpro/source/filter/bencont.cxx
index a09695184d90..3cb4a09fd233 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)