[Libreoffice-commits] core.git: 7 commits - stoc/source svl/source svl/unx
Caolán McNamara
caolanm at redhat.com
Fri Mar 14 08:58:57 PDT 2014
stoc/source/corereflection/lrucache.hxx | 2 ++
stoc/source/security/lru_cache.h | 1 +
svl/source/items/itemset.cxx | 13 ++++++-------
svl/source/items/style.cxx | 2 ++
svl/unx/source/svdde/ddedummy.cxx | 12 ++++++++++++
5 files changed, 23 insertions(+), 7 deletions(-)
New commits:
commit 85543a2700bcb3100f07851b3173b3f218cadff0
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Mar 14 15:57:40 2014 +0000
coverity#708238 Uninitialized pointer field
Change-Id: I83552efc825d54da9e00d4a9a637118565bd30ca
diff --git a/stoc/source/corereflection/lrucache.hxx b/stoc/source/corereflection/lrucache.hxx
index a4292a1..16ca8ae 100644
--- a/stoc/source/corereflection/lrucache.hxx
+++ b/stoc/source/corereflection/lrucache.hxx
@@ -97,6 +97,8 @@ inline LRU_Cache< t_Key, t_Val, t_KeyHash, t_KeyEqual >::LRU_Cache( sal_Int32 nC
: _nCachedElements( nCachedElements )
#endif
, _pBlock( 0 )
+ , _pHead( 0 )
+ , _pTail( 0 )
{
if (_nCachedElements > 0)
{
commit a5cbf154df2e8d77f4971f5dafa76e9f8fcc9ca7
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Mar 14 15:56:12 2014 +0000
coverity#708240 Uninitialized pointer field
Change-Id: I127cfc84412984e9c190f3e5b2e37cf76ebf82f1
diff --git a/stoc/source/security/lru_cache.h b/stoc/source/security/lru_cache.h
index 5033113..56f4710 100644
--- a/stoc/source/security/lru_cache.h
+++ b/stoc/source/security/lru_cache.h
@@ -127,6 +127,7 @@ inline lru_cache< t_key, t_val, t_hashKey, t_equalKey >::lru_cache(
::std::size_t size ) SAL_THROW(())
: m_size( 0 )
, m_block( 0 )
+ , m_tail( 0 )
{
setSize( size );
}
commit 3dd8bab3d07a35e2db33adbcdf25dcf80f46d3cd
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Mar 14 15:54:59 2014 +0000
708253 Uninitialized pointer field
Change-Id: I9d00dd3020d7bc75b6047cf20da3926f10b3632a
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx
index 7b1c14c..2ce1935 100644
--- a/svl/source/items/itemset.cxx
+++ b/svl/source/items/itemset.cxx
@@ -222,11 +222,12 @@ void SfxItemSet::InitRanges_Impl(const sal_uInt16 *pWhichPairTable)
-SfxItemSet::SfxItemSet( SfxItemPool& rPool, const sal_uInt16* pWhichPairTable ):
- _pPool( &rPool ),
- _pParent( 0 ),
- _pWhichRanges(0),
- _nCount( 0 )
+SfxItemSet::SfxItemSet( SfxItemPool& rPool, const sal_uInt16* pWhichPairTable )
+ : _pPool(&rPool)
+ , _pParent(0)
+ , _aItems(0)
+ , _pWhichRanges(0)
+ , _nCount(0)
{
DBG_CTOR(SfxItemSet, 0);
DBG_ASSERTWARNING( _pPool == _pPool->GetMasterPool(), "kein Master-Pool" );
@@ -237,8 +238,6 @@ SfxItemSet::SfxItemSet( SfxItemPool& rPool, const sal_uInt16* pWhichPairTable ):
InitRanges_Impl(pWhichPairTable);
}
-
-
SfxItemSet::SfxItemSet( const SfxItemSet& rASet ):
_pPool( rASet._pPool ),
_pParent( rASet._pParent ),
commit 2de369e3717c2bf6d536649c9d8bd64726b6baf0
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Mar 14 15:52:18 2014 +0000
coverity#708255 Uninitialized pointer field
Change-Id: Ic7fad54a0e39d007668e3fd3e2a857f9f9956d7d
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index b83e773..11a365f 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -399,6 +399,8 @@ struct DoesStyleMatchStyleSheetPredicate SAL_FINAL : public svl::StyleSheetPredi
SfxStyleSheetIterator::SfxStyleSheetIterator(SfxStyleSheetBasePool *pBase,
SfxStyleFamily eFam, sal_uInt16 n)
+ : pAktStyle(NULL)
+ , nAktPosition(0)
{
pBasePool=pBase;
nSearchFamily=eFam;
commit 011e153bc4f3d086108e10a5b95ea6614d665d95
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Mar 14 15:50:46 2014 +0000
coverity#708265 Uninitialized pointer field
Change-Id: I48afa08c5e1bb8a615901177e5baed20ea86d28e
diff --git a/svl/unx/source/svdde/ddedummy.cxx b/svl/unx/source/svdde/ddedummy.cxx
index 69f8a19..1fca271 100644
--- a/svl/unx/source/svdde/ddedummy.cxx
+++ b/svl/unx/source/svdde/ddedummy.cxx
@@ -106,6 +106,11 @@ DdeTransaction::DdeTransaction( DdeConnection& rConnection, const OUString&, lon
DdeTransaction::DdeTransaction( const DdeTransaction& rTransaction )
: rDde( rTransaction.rDde )
+ , pName(NULL)
+ , nType(0)
+ , nId(0)
+ , nTime(0)
+ , bBusy(false)
{
}
commit 1b26ba2307d24341cf73cf6fc4865b120eaf05b1
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Mar 14 15:49:20 2014 +0000
coverity#708269 Uninitialized pointer field
Change-Id: If92b091d06e6de6f137d38a9fa28d4c8604b368c
diff --git a/svl/unx/source/svdde/ddedummy.cxx b/svl/unx/source/svdde/ddedummy.cxx
index 7a986d6..69f8a19 100644
--- a/svl/unx/source/svdde/ddedummy.cxx
+++ b/svl/unx/source/svdde/ddedummy.cxx
@@ -21,6 +21,7 @@
#include <rtl/instance.hxx>
DdeData::DdeData()
+ : pImp(NULL)
{
}
@@ -30,10 +31,12 @@ DdeData::DdeData( const OUString& )
}
DdeData::DdeData( const DdeData& )
+ : pImp(NULL)
{
}
DdeData::DdeData( const void*, long, sal_uLong)
+ : pImp(NULL)
{
}
commit 333402bdc5665749efed5f92fe1c80ff56d58e2f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Mar 14 15:48:11 2014 +0000
coverity#708271 Uninitialized pointer field
Change-Id: If6acc11a32b5be1092f0de7c747159ee447edf7c
diff --git a/svl/unx/source/svdde/ddedummy.cxx b/svl/unx/source/svdde/ddedummy.cxx
index b848b8f..7a986d6 100644
--- a/svl/unx/source/svdde/ddedummy.cxx
+++ b/svl/unx/source/svdde/ddedummy.cxx
@@ -295,6 +295,10 @@ DdeItem::DdeItem( const OUString& )
}
DdeItem::DdeItem( const DdeItem& )
+ : pName(NULL)
+ , pMyTopic(NULL)
+ , pImpData(NULL)
+ , nType(0)
{
}
More information about the Libreoffice-commits
mailing list