[Libreoffice-commits] core.git: 17 commits - cppu/source dbaccess/source filter/source formula/source hwpfilter/source include/filter l10ntools/inc l10ntools/source sc/source
Noel Grandin
noel at peralex.com
Fri Feb 21 01:59:55 PST 2014
cppu/source/AffineBridge/AffineBridge.cxx | 5
dbaccess/source/core/api/TableDeco.cxx | 1
dbaccess/source/core/dataaccess/ContentHelper.cxx | 1
dbaccess/source/core/inc/TableDeco.hxx | 1
dbaccess/source/ui/misc/TokenWriter.cxx | 1
filter/source/graphicfilter/egif/giflzwc.cxx | 3
filter/source/graphicfilter/egif/giflzwc.hxx | 10 -
filter/source/graphicfilter/eps/eps.cxx | 50 ++++++
filter/source/graphicfilter/ios2met/ios2met.cxx | 83 ++++++-----
formula/source/core/api/FormulaCompiler.cxx | 8 -
hwpfilter/source/hbox.h | 9 -
include/filter/msfilter/svdfppt.hxx | 14 +
l10ntools/inc/export.hxx | 1
l10ntools/source/export.cxx | 6
sc/source/core/data/dptabdat.cxx | 3
sc/source/core/tool/adiasync.cxx | 2
sc/source/filter/excel/exctools.cxx | 1
sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx | 2
sc/source/ui/miscdlgs/anyrefdg.cxx | 2
19 files changed, 147 insertions(+), 56 deletions(-)
New commits:
commit b32658e7c492b33c15c738f6dd365b921f29dbc4
Author: Noel Grandin <noel at peralex.com>
Date: Thu Feb 20 16:00:53 2014 +0200
cid#708091 Uninitialized pointer field
Change-Id: Ibc068d4a077d3715f4f8c28d20f53167686cbbee
diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx
index 0ed8c67..2dcb9cf 100644
--- a/sc/source/ui/miscdlgs/anyrefdg.cxx
+++ b/sc/source/ui/miscdlgs/anyrefdg.cxx
@@ -48,9 +48,11 @@
ScFormulaReferenceHelper::ScFormulaReferenceHelper(IAnyRefDialog* _pDlg,SfxBindings* _pBindings)
: m_pDlg(_pDlg)
, pRefEdit (NULL)
+ , pRefBtn (NULL)
, m_pWindow(NULL)
, m_pBindings(_pBindings)
, pAccel( NULL )
+ , m_nOldBorderWidth (0)
, nRefTab(0)
, mnOldEditWidthReq( -1 )
, mpOldEditParent( NULL )
commit 628dbbc99e0841c84a046eda572c35b337c5c1bd
Author: Noel Grandin <noel at peralex.com>
Date: Thu Feb 20 15:58:28 2014 +0200
cid#708083 Uninitialized pointer field
Change-Id: Ic0b5b9f70c09127c4b73a4faf38383cb4cfa1d67
diff --git a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
index daa8605..e911c89 100644
--- a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
@@ -527,7 +527,7 @@ private:
};
ScIAccessibleViewForwarder::ScIAccessibleViewForwarder()
- : mbValid(false)
+ : mpViewShell(NULL), mpAccDoc(NULL), mbValid(false)
{
}
commit be5d879b540ca7b897e844927a6ce2cc4e4b6f40
Author: Noel Grandin <noel at peralex.com>
Date: Thu Feb 20 15:55:30 2014 +0200
cid#708029 Uninitialized pointer field
Change-Id: Ifb61a1db7a0527f4d722a753c0918ef035436997
diff --git a/sc/source/filter/excel/exctools.cxx b/sc/source/filter/excel/exctools.cxx
index 8e26dc5..780b943 100644
--- a/sc/source/filter/excel/exctools.cxx
+++ b/sc/source/filter/excel/exctools.cxx
@@ -63,6 +63,7 @@ RootData::RootData( void )
pIR = NULL;
pER = NULL;
+ pColRowBuff = NULL;
}
RootData::~RootData()
commit 09fed2bcd3653f53f68a51b9162ba1f27b86fb2c
Author: Noel Grandin <noel at peralex.com>
Date: Thu Feb 20 15:39:20 2014 +0200
cid#708014 Uninitialized pointer field
Change-Id: Icfffb7ce6e34f31ae1bcc2964460e59f5486399d
diff --git a/sc/source/core/tool/adiasync.cxx b/sc/source/core/tool/adiasync.cxx
index bd5b0b9..ad41cfd 100644
--- a/sc/source/core/tool/adiasync.cxx
+++ b/sc/source/core/tool/adiasync.cxx
@@ -38,6 +38,8 @@ void CALLTYPE ScAddInAsyncCallBack( double& nHandle, void* pData )
ScAddInAsync::ScAddInAsync() :
SvtBroadcaster(),
+ pDocs( NULL ),
+ mpFuncData( NULL ),
nHandle( 0 )
{ // nur fuer aSeekObj !
}
commit b6c8a233f272a36ad2595b7589a2b0afd987ec0a
Author: Noel Grandin <noel at peralex.com>
Date: Thu Feb 20 15:36:16 2014 +0200
cid#707998 Uninitialized pointer field
Change-Id: I7e72f2e3f2d62c0f293f9cdab212fabd74452b4d
diff --git a/sc/source/core/data/dptabdat.cxx b/sc/source/core/data/dptabdat.cxx
index 954cdee..494c492 100644
--- a/sc/source/core/data/dptabdat.cxx
+++ b/sc/source/core/data/dptabdat.cxx
@@ -41,6 +41,9 @@ using ::std::vector;
// ---------------------------------------------------------------------------
ScDPTableData::CalcInfo::CalcInfo() :
+ pInitState( NULL ),
+ pColRoot( NULL ),
+ pRowRoot( NULL ),
bRepeatIfEmpty(false)
{
}
commit f5d4d2bf566cd55394d1d1f30ebcb5a180089fdd
Author: Noel Grandin <noel at peralex.com>
Date: Thu Feb 20 15:29:41 2014 +0200
cid#707946 Uninitialized pointer field
this field was actually only used to swap values between other values,
so convert it to local variables
Change-Id: I274e8978651f905c0bd2391ac4baaf5c23388425
diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx
index 97923e0..b66a556 100644
--- a/l10ntools/inc/export.hxx
+++ b/l10ntools/inc/export.hxx
@@ -359,7 +359,6 @@ public:
private:
std::queue<QueueEntry>* aQueueNext;
std::queue<QueueEntry>* aQueueCur;
- std::queue<QueueEntry>* aQref;
Export& aExport;
bool bStart;
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index a230b1c..76cb144 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -1253,7 +1253,7 @@ void ParserQueue::Push( const QueueEntry& aEntry )
bLastWasM = bCurrentIsM;
// next -> current
bCurrentIsM = bNextIsM;
- aQref = aQueueCur;
+ std::queue<QueueEntry>* aQref = aQueueCur;
aQueueCur = aQueueNext;
aQueueNext = aQref;
@@ -1265,7 +1265,7 @@ void ParserQueue::Push( const QueueEntry& aEntry )
bLastWasM = bCurrentIsM;
// next -> current
bCurrentIsM = bNextIsM;
- aQref = aQueueCur;
+ std::queue<QueueEntry>* aQref = aQueueCur;
aQueueCur = aQueueNext;
aQueueNext = aQref;
}
@@ -1278,7 +1278,7 @@ void ParserQueue::Close(){
// next -> current
bLastWasM = bCurrentIsM;
bCurrentIsM = bNextIsM;
- aQref = aQueueCur;
+ std::queue<QueueEntry>* aQref = aQueueCur;
aQueueCur = aQueueNext;
aQueueNext = aQref;
bNextIsM = false;
commit 2cd2130d67035d2bbfb5ebca6a82d0a53f89e298
Author: Noel Grandin <noel at peralex.com>
Date: Thu Feb 20 15:25:12 2014 +0200
cid#707898 Uninitialized pointer field
Change-Id: I9e972da45b10d6c88ade34fb69cb49affd2063fb
diff --git a/hwpfilter/source/hbox.h b/hwpfilter/source/hbox.h
index 8be92f7..0dc7076 100644
--- a/hwpfilter/source/hbox.h
+++ b/hwpfilter/source/hbox.h
@@ -527,15 +527,16 @@ struct TCell
struct Table
{
- Table(){};
- ~Table(){
+ Table() : box(NULL) {};
+ ~Table() {
std::list<TCell*>::iterator it = cells.begin();
for( ; it != cells.end(); ++it)
delete *it;
};
+
Columns columns;
- Rows rows;
- std::list<TCell*> cells;
+ Rows rows;
+ std::list<TCell*> cells;
TxtBox *box;
};
commit 2b9fe0c75ee93aa52f58dcee10c692a672b0cff7
Author: Noel Grandin <noel at peralex.com>
Date: Thu Feb 20 15:21:23 2014 +0200
cid#707865 Uninitialized pointer field
Change-Id: I86c90a95093d6c90cbc733164a3b773468575b5b
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx
index 1051b73..0302855 100644
--- a/formula/source/core/api/FormulaCompiler.cxx
+++ b/formula/source/core/api/FormulaCompiler.cxx
@@ -529,14 +529,18 @@ DBG_NAME(FormulaCompiler)
FormulaCompiler::FormulaCompiler( FormulaTokenArray& rArr )
:
pArr( &rArr ),
+ pCode( NULL ),
pStack( NULL ),
- nRecursion(0),
+ eLastOp( ocPush ),
+ nRecursion( 0 ),
nNumFmt( NUMBERFORMAT_UNDEFINED ),
+ pc( 0 ),
meGrammar( formula::FormulaGrammar::GRAM_UNSPECIFIED ),
bAutoCorrect( false ),
bCorrected( false ),
bCompileForFAP( false ),
- bIgnoreErrors( false )
+ bIgnoreErrors( false ),
+ glSubTotal( false )
{
DBG_CTOR(FormulaCompiler, NULL);
commit 9a20dda460e6357cb81953e5e1f546560dc795e3
Author: Noel Grandin <noel at peralex.com>
Date: Thu Feb 20 14:56:22 2014 +0200
cid#707824 Uninitialized pointer field
Change-Id: Iac235ecd1cbbfa8556465e475aeacd133994423c
diff --git a/filter/source/graphicfilter/ios2met/ios2met.cxx b/filter/source/graphicfilter/ios2met/ios2met.cxx
index 0362e24..9aa722c 100644
--- a/filter/source/graphicfilter/ios2met/ios2met.cxx
+++ b/filter/source/graphicfilter/ios2met/ios2met.cxx
@@ -210,16 +210,15 @@ struct OSPalette {
};
struct OSArea {
- OSArea * pSucc;
- sal_uInt8 nFlags;
+ OSArea * pSucc;
+ sal_uInt8 nFlags;
PolyPolygon aPPoly;
- sal_Bool bClosed;
- Color aCol;
- Color aBgCol;
- RasterOp eMix;
- RasterOp eBgMix;
- sal_Bool bFill;
- OSArea(){} ~OSArea(){}
+ sal_Bool bClosed;
+ Color aCol;
+ Color aBgCol;
+ RasterOp eMix;
+ RasterOp eBgMix;
+ sal_Bool bFill;
};
struct OSPath
@@ -227,37 +226,32 @@ struct OSPath
OSPath* pSucc;
sal_uInt32 nID;
PolyPolygon aPPoly;
- sal_Bool bClosed;
- sal_Bool bStroke;
-
- OSPath(){}
- ~OSPath(){}
+ sal_Bool bClosed;
+ sal_Bool bStroke;
};
struct OSFont {
- OSFont * pSucc;
+ OSFont * pSucc;
sal_uLong nID;
- Font aFont;
- OSFont(){} ~OSFont(){}
+ Font aFont;
};
struct OSBitmap {
OSBitmap * pSucc;
- sal_uLong nID;
- Bitmap aBitmap;
+ sal_uLong nID;
+ Bitmap aBitmap;
// required during reading of the bitmap:
SvStream * pBMP; // pointer to temporary Windows-BMP file or NULL
sal_uInt32 nWidth, nHeight;
sal_uInt16 nBitsPerPixel;
- sal_uLong nMapPos;
- OSBitmap(){} ~OSBitmap(){}
+ sal_uLong nMapPos;
};
struct OSAttr {
- OSAttr * pSucc;
+ OSAttr * pSucc;
sal_uInt16 nPushOrder;
- sal_uInt8 nIvAttrA, nIvAttrP; // special variables for the Order "GOrdPIvAtr"
+ sal_uInt8 nIvAttrA, nIvAttrP; // special variables for the Order "GOrdPIvAtr"
Color aLinCol;
Color aLinBgCol;
@@ -308,7 +302,6 @@ struct OSAttr {
// sal_uInt8 nTxtAlignHor,nTxtAlignVer;
// //... aViewTransform;
// //... aViewWindow;
- OSAttr(){} ~OSAttr(){}
};
class OS2METReader {
@@ -317,16 +310,16 @@ private:
long ErrorCode;
- SvStream * pOS2MET; // the OS2MET file to be read
+ SvStream * pOS2MET; // the OS2MET file to be read
VirtualDevice * pVirDev; // here the drawing methods are being called
// While doing this a recording in the GDIMetaFile
// will take place.
- sal_uLong nOrigPos; // initial position in pOS2MET
- sal_uInt16 nOrigNumberFormat; // initial number format of pOS2MET
- Rectangle aBoundingRect; // bounding rectangle as stored in the file
- Rectangle aCalcBndRect; // bounding rectangle calculated on our own
- MapMode aGlobMapMode; // resolution of the picture
- sal_Bool bCoord32;
+ sal_uLong nOrigPos; // initial position in pOS2MET
+ sal_uInt16 nOrigNumberFormat; // initial number format of pOS2MET
+ Rectangle aBoundingRect; // bounding rectangle as stored in the file
+ Rectangle aCalcBndRect; // bounding rectangle calculated on our own
+ MapMode aGlobMapMode; // resolution of the picture
+ sal_Bool bCoord32;
OSPalette * pPaletteStack;
@@ -366,13 +359,13 @@ private:
Color GetPaletteColor(sal_uInt32 nIndex);
- sal_Bool IsLineInfo();
+ sal_Bool IsLineInfo();
void DrawPolyLine( const Polygon& rPolygon );
void DrawPolygon( const Polygon& rPolygon );
void DrawPolyPolygon( const PolyPolygon& rPolygon );
- sal_uInt16 ReadBigEndianWord();
- sal_uLong ReadBigEndian3BytesLong();
- sal_uLong ReadLittleEndian3BytesLong();
+ sal_uInt16 ReadBigEndianWord();
+ sal_uLong ReadBigEndian3BytesLong();
+ sal_uLong ReadLittleEndian3BytesLong();
long ReadCoord(sal_Bool b32);
Point ReadPoint( const sal_Bool bAdjustBoundRect = sal_True );
RasterOp OS2MixToRasterOp(sal_uInt8 nMix);
commit 86a094eb2b4fc602462e7ac3513c3b2eb032f7c5
Author: Noel Grandin <noel at peralex.com>
Date: Thu Feb 20 14:35:45 2014 +0200
cid#707819 Uninitialized pointer field
Change-Id: I1de998797c4470154fc9f290611da0bb2642fd45
diff --git a/filter/source/graphicfilter/ios2met/ios2met.cxx b/filter/source/graphicfilter/ios2met/ios2met.cxx
index 25feb0c..0362e24 100644
--- a/filter/source/graphicfilter/ios2met/ios2met.cxx
+++ b/filter/source/graphicfilter/ios2met/ios2met.cxx
@@ -413,6 +413,26 @@ sal_Bool OS2METReader::Callback(sal_uInt16 /*nPercent*/)
}
OS2METReader::OS2METReader()
+ : ErrorCode(0)
+ , pOS2MET(NULL)
+ , pVirDev(NULL)
+ , nOrigPos(0)
+ , nOrigNumberFormat(0)
+ , aBoundingRect()
+ , aCalcBndRect()
+ , aGlobMapMode()
+ , bCoord32(sal_False)
+ , pPaletteStack(NULL)
+ , aLineInfo()
+ , pAreaStack(NULL)
+ , pPathStack(NULL)
+ , pPathList(NULL)
+ , pFontList(NULL)
+ , pBitmapList(NULL)
+ , aDefAttr()
+ , aAttr()
+ , pAttrStack(NULL)
+ , pOrdFile(NULL)
{
}
commit 29b1626028e7ba09e098fbeb6addd5390691743b
Author: Noel Grandin <noel at peralex.com>
Date: Thu Feb 20 14:31:35 2014 +0200
cid#707799 Uninitialized pointer field
Change-Id: I222dc6a0f4d2d097e88ee953270c5c6f7382213e
diff --git a/filter/source/graphicfilter/eps/eps.cxx b/filter/source/graphicfilter/eps/eps.cxx
index 434f057..5793c91 100644
--- a/filter/source/graphicfilter/eps/eps.cxx
+++ b/filter/source/graphicfilter/eps/eps.cxx
@@ -245,6 +245,56 @@ public:
//---------------------------------------------------------------------------------
PSWriter::PSWriter()
+ : mbStatus(sal_False)
+ , mnLevelWarning(0)
+ , mnLastPercent(0)
+ , mnLatestPush(0)
+ , mnLevel(0)
+ , mbGrayScale(sal_False)
+ , mbCompression(sal_False)
+ , mnPreview(0)
+ , mnTextMode(0)
+ , mpPS(NULL)
+ , pMTF(NULL)
+ , pAMTF(NULL)
+ , aVDev()
+ , nBoundingX1(0)
+ , nBoundingY1(0)
+ , nBoundingX2(0)
+ , nBoundingY2(0)
+ , pGDIStack(NULL)
+ , mnCursorPos(0)
+ , aColor()
+ , bLineColor(sal_False)
+ , aLineColor()
+ , bFillColor(sal_False)
+ , aFillColor()
+ , aTextColor()
+ , bTextFillColor(sal_False)
+ , aTextFillColor()
+ , aBackgroundColor()
+ , bRegionChanged(sal_False)
+ , eTextAlign()
+ , fLineWidth(0)
+ , fMiterLimit(0)
+ , eLineCap()
+ , eJoinType()
+ , aDashArray()
+ , maFont()
+ , maLastFont()
+ , nChrSet(0)
+ , pChrSetList(NULL)
+ , nNextChrSetId(0)
+ , pTable(NULL)
+ , pPrefix(NULL)
+ , nDataSize(0)
+ , nClearCode(0)
+ , nEOICode(0)
+ , nTableSize(0)
+ , nCodeSize(0)
+ , nOffset(0)
+ , dwShift(0)
+ , xStatusIndicator()
{
pAMTF = NULL;
}
commit 0b79bda0e09ead9f4a3be9f5563dc874a72cd4f9
Author: Noel Grandin <noel at peralex.com>
Date: Thu Feb 20 14:21:33 2014 +0200
cid#707794 Uninitialized pointer field
Change-Id: Ic7bb4c2cf90e47f32d62816bec4939669584b942
diff --git a/filter/source/graphicfilter/egif/giflzwc.cxx b/filter/source/graphicfilter/egif/giflzwc.cxx
index 57b5efd..081c8e1 100644
--- a/filter/source/graphicfilter/egif/giflzwc.cxx
+++ b/filter/source/graphicfilter/egif/giflzwc.cxx
@@ -126,8 +126,9 @@ struct GIFLZWCTreeNode
// --------------------
GIFLZWCompressor::GIFLZWCompressor()
+ : pIDOS(NULL), pTable(NULL), pPrefix(NULL), nDataSize(0), nClearCode(0),
+ nEOICode(0), nTableSize(0), nCodeSize(0)
{
- pIDOS=NULL;
}
// ------------------------------------------------------------------------
diff --git a/filter/source/graphicfilter/egif/giflzwc.hxx b/filter/source/graphicfilter/egif/giflzwc.hxx
index 35b4030..cc76369 100644
--- a/filter/source/graphicfilter/egif/giflzwc.hxx
+++ b/filter/source/graphicfilter/egif/giflzwc.hxx
@@ -36,11 +36,11 @@ private:
GIFImageDataOutputStream* pIDOS;
GIFLZWCTreeNode* pTable;
GIFLZWCTreeNode* pPrefix;
- sal_uInt16 nDataSize;
- sal_uInt16 nClearCode;
- sal_uInt16 nEOICode;
- sal_uInt16 nTableSize;
- sal_uInt16 nCodeSize;
+ sal_uInt16 nDataSize;
+ sal_uInt16 nClearCode;
+ sal_uInt16 nEOICode;
+ sal_uInt16 nTableSize;
+ sal_uInt16 nCodeSize;
public:
commit 69388f47539f1d5dedeb8544489ad6953434c2fc
Author: Noel Grandin <noel at peralex.com>
Date: Thu Feb 20 14:16:09 2014 +0200
cid#707782 Uninitialized pointer field
Change-Id: I3392cc01c0f7f69d166900a0dca9a9fcef239772
diff --git a/include/filter/msfilter/svdfppt.hxx b/include/filter/msfilter/svdfppt.hxx
index f8eaed4..10a13b1 100644
--- a/include/filter/msfilter/svdfppt.hxx
+++ b/include/filter/msfilter/svdfppt.hxx
@@ -1230,7 +1230,19 @@ struct ImplPPTTextObj
sal_uInt32 mnTextFlags;
- explicit ImplPPTTextObj( PptSlidePersistEntry& rPersistEntry ) : mrPersistEntry ( rPersistEntry ) {};
+ explicit ImplPPTTextObj( PptSlidePersistEntry& rPersistEntry )
+ : mnRefCount(0)
+ , mnShapeId(0)
+ , mnShapeMaster(0)
+ , mpPlaceHolderAtom(NULL)
+ , mnInstance(0)
+ , mnDestinationInstance(0)
+ , meShapeType(mso_sptMin)
+ , mnCurrentObject(0)
+ , mnParagraphCount(0)
+ , mpParagraphList(NULL)
+ , mrPersistEntry ( rPersistEntry )
+ , mnTextFlags(0) {};
};
class MSFILTER_DLLPUBLIC PPTTextObj
commit 702b2e12697fa9c270bf8642bfc86f11d5d2c04c
Author: Noel Grandin <noel at peralex.com>
Date: Thu Feb 20 14:05:34 2014 +0200
cid#707739 Uninitialized pointer field
Change-Id: I3203b29819e3f355469f5d57addff371e1e3d73c
diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx
index 21cc786..4c59362 100644
--- a/dbaccess/source/ui/misc/TokenWriter.cxx
+++ b/dbaccess/source/ui/misc/TokenWriter.cxx
@@ -116,6 +116,7 @@ ODatabaseImportExport::ODatabaseImportExport(const ::svx::ODataAccessDescriptor&
ODatabaseImportExport::ODatabaseImportExport( const ::dbtools::SharedConnection& _rxConnection,
const Reference< XNumberFormatter >& _rxNumberF, const Reference< XComponentContext >& _rM )
:m_bBookmarkSelection( sal_False )
+ ,m_pStream(NULL)
,m_xConnection(_rxConnection)
,m_xFormatter(_rxNumberF)
,m_xContext(_rM)
commit d449366679c5c5a3bcd08012d74ec11ed35abc1b
Author: Noel Grandin <noel at peralex.com>
Date: Thu Feb 20 14:02:43 2014 +0200
cid#707728 Uninitialized pointer field
Change-Id: I95528f444113ce7e70afe040b6c3e95966a561a2
diff --git a/dbaccess/source/core/dataaccess/ContentHelper.cxx b/dbaccess/source/core/dataaccess/ContentHelper.cxx
index 0246433..8aff2bd 100644
--- a/dbaccess/source/core/dataaccess/ContentHelper.cxx
+++ b/dbaccess/source/core/dataaccess/ContentHelper.cxx
@@ -51,6 +51,7 @@ using namespace ::comphelper;
using namespace ::cppu;
OContentHelper_Impl::OContentHelper_Impl()
+ : m_pDataSource(0)
{
}
commit e0e370a13d5bd90a25ceb0930539e27bdbb28a5f
Author: Noel Grandin <noel at peralex.com>
Date: Thu Feb 20 13:57:59 2014 +0200
cid#707727 Uninitialized pointer field
resolved by removing the field, since it is unused
Change-Id: Ia543877ee645023bf6e1ee3c4f396cb082517f82
diff --git a/dbaccess/source/core/api/TableDeco.cxx b/dbaccess/source/core/api/TableDeco.cxx
index 8f9ae64..4156552 100644
--- a/dbaccess/source/core/api/TableDeco.cxx
+++ b/dbaccess/source/core/api/TableDeco.cxx
@@ -106,7 +106,6 @@ void SAL_CALL ODBTableDecorator::disposing()
MutexGuard aGuard(m_aMutex);
m_xTable = NULL;
m_xMetaData = NULL;
- m_pTables = NULL;
m_xColumnDefinitions = NULL;
m_xNumberFormats = NULL;
if ( m_pColumns )
diff --git a/dbaccess/source/core/inc/TableDeco.hxx b/dbaccess/source/core/inc/TableDeco.hxx
index 664312a..5af0391 100644
--- a/dbaccess/source/core/inc/TableDeco.hxx
+++ b/dbaccess/source/core/inc/TableDeco.hxx
@@ -75,7 +75,6 @@ namespace dbaccess
mutable sal_Int32 m_nPrivileges;
// </properties>
::connectivity::sdbcx::OCollection* m_pColumns;
- ::connectivity::sdbcx::OCollection* m_pTables;
// IColumnFactory
virtual OColumn* createColumn(const OUString& _rName) const;
commit 5fbb16410079b67693d7087726cde5a135b67524
Author: Noel Grandin <noel at peralex.com>
Date: Thu Feb 20 11:53:20 2014 +0200
cid#707712 Uninitialized pointer field
Change-Id: I95205c6cccac00f782f457215fd650551fe67274
diff --git a/cppu/source/AffineBridge/AffineBridge.cxx b/cppu/source/AffineBridge/AffineBridge.cxx
index 973ef0c..72d0f88 100644
--- a/cppu/source/AffineBridge/AffineBridge.cxx
+++ b/cppu/source/AffineBridge/AffineBridge.cxx
@@ -132,7 +132,10 @@ void OuterThread::run(void)
AffineBridge::AffineBridge(void)
- : m_innerThreadId(0),
+ : m_message (CB_DONE),
+ m_pCallee (0),
+ m_pParam (0),
+ m_innerThreadId(0),
m_pInnerThread (NULL),
m_enterCount (0),
m_outerThreadId(0),
More information about the Libreoffice-commits
mailing list