chart2/source/controller/dialogs/tp_RangeChooser.hxx | 1 - cui/source/options/optlingu.cxx | 1 + cui/source/tabpages/tabarea.cxx | 6 +----- desktop/source/deployment/registry/help/dp_help.cxx | 2 ++ oox/source/drawingml/shape.cxx | 1 + sc/source/filter/qpro/qproform.cxx | 6 ++++-- sw/source/ui/fldui/flddinf.cxx | 2 ++ sw/source/ui/fldui/flddok.cxx | 2 ++ sw/source/ui/fldui/fldvar.cxx | 1 + sw/source/ui/table/tabledlg.cxx | 1 + vcl/source/opengl/OpenGLContext.cxx | 1 + 11 files changed, 16 insertions(+), 8 deletions(-)
New commits: commit 4553d68371c93c04812b57513e80e53d5d36d6bb Author: Caolán McNamara <caol...@redhat.com> Date: Tue Apr 29 17:16:31 2014 +0100 coverity#705639 Resource leak Change-Id: I44669bce64ee20a907e85d7dcf79ce20e85d1360 diff --git a/desktop/source/deployment/registry/help/dp_help.cxx b/desktop/source/deployment/registry/help/dp_help.cxx index aff5eba..ca3585f 100644 --- a/desktop/source/deployment/registry/help/dp_help.cxx +++ b/desktop/source/deployment/registry/help/dp_help.cxx @@ -483,6 +483,8 @@ void BackendImpl::implProcessHelp( nXhpFileCount, pXhpFiles, langFolderDestExpanded, aErrorInfo ); + delete[] pXhpFiles; + if( bSuccess ) { OUString aLang; commit e1566d1a2323113b8cb5bde64913d3eefb62512d Author: Caolán McNamara <caol...@redhat.com> Date: Tue Apr 29 17:10:27 2014 +0100 coverity#1210161 Uninitialized scalar variable Change-Id: I393aadc30190177b75f7f6b723c000b583697c37 diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx index ba27e9d..18530ae 100644 --- a/vcl/source/opengl/OpenGLContext.cxx +++ b/vcl/source/opengl/OpenGLContext.cxx @@ -673,6 +673,7 @@ SystemWindowData OpenGLContext::generateWinData(Window* pParent) { SystemWindowData aWinData; aWinData.nSize = sizeof(aWinData); + aWinData.pVisual = NULL; const SystemEnvData* sysData(pParent->GetSystemData()); commit 5d39c9160669a206356b09b40c6c2c2442a9f2ac Author: Caolán McNamara <caol...@redhat.com> Date: Tue Apr 29 17:08:45 2014 +0100 coverity#1210163 Uninitialized scalar variable Change-Id: I0ee0fd95b88d27d2a2d66fa82f489a78d2893b84 diff --git a/sc/source/filter/qpro/qproform.cxx b/sc/source/filter/qpro/qproform.cxx index b666650..7a3ebbd 100644 --- a/sc/source/filter/qpro/qproform.cxx +++ b/sc/source/filter/qpro/qproform.cxx @@ -176,7 +176,8 @@ do { \ ConvErr QProToSc::Convert( const ScTokenArray*& pArray, sal_uInt16 /*nLen*/, const FORMULA_TYPE /*eFT*/ ) { - sal_uInt8 nFmla[ nBufSize ], i, nArg, nArgArray[ nBufSize ]; + sal_uInt8 nFmla[ nBufSize ], i, nArg; + sal_uInt8 nArgArray[ nBufSize ] = {0}; sal_Int8 nCol, nPage; sal_uInt16 nInt, nIntCount = 0, nStringCount = 0, nFloatCount = 0, nDLLCount = 0, nArgCount = 0; sal_uInt16 nIntArray[ nBufSize ] = {0}; commit d74722faf277e293b102e63a0acf151fa4fe1536 Author: Caolán McNamara <caol...@redhat.com> Date: Tue Apr 29 17:08:02 2014 +0100 coverity#1210164 Uninitialized scalar variable Change-Id: I0b57ff0ea059e924f6508da5f76b5e8e7ed8cbf3 diff --git a/sc/source/filter/qpro/qproform.cxx b/sc/source/filter/qpro/qproform.cxx index a61d088..b666650 100644 --- a/sc/source/filter/qpro/qproform.cxx +++ b/sc/source/filter/qpro/qproform.cxx @@ -181,7 +181,8 @@ ConvErr QProToSc::Convert( const ScTokenArray*& pArray, sal_uInt16 /*nLen*/, con sal_uInt16 nInt, nIntCount = 0, nStringCount = 0, nFloatCount = 0, nDLLCount = 0, nArgCount = 0; sal_uInt16 nIntArray[ nBufSize ] = {0}; OUString sStringArray[ nBufSize ]; - sal_uInt16 nDummy, nDLLId, nDLLArray[ nBufSize ]; + sal_uInt16 nDummy, nDLLId; + sal_uInt16 nDLLArray[ nBufSize ] = {0}; sal_uInt16 nNote, nRef, nRelBits; TokenId nPush; ScComplexRefData aCRD; commit 3f71b92ff1de1c614193832b291339a3e2f2c4a4 Author: Caolán McNamara <caol...@redhat.com> Date: Tue Apr 29 17:04:17 2014 +0100 coverity#1210168 Uninitialized pointer field Change-Id: I06531e828d7a110a8de6520737935550d250dff8 diff --git a/chart2/source/controller/dialogs/tp_RangeChooser.hxx b/chart2/source/controller/dialogs/tp_RangeChooser.hxx index 30acf77..8c21119 100644 --- a/chart2/source/controller/dialogs/tp_RangeChooser.hxx +++ b/chart2/source/controller/dialogs/tp_RangeChooser.hxx @@ -89,7 +89,6 @@ protected: //member FixedText* m_pFTTitle; CheckBox* m_pCB_TimeBased; - FixedText* m_pFt_TimeBased; Edit* m_pEd_TimeStart; Edit* m_pEd_TimeEnd; commit 885b7602f30fc6a147a54d05b6d5f7658b7a11d7 Author: Caolán McNamara <caol...@redhat.com> Date: Tue Apr 29 17:03:20 2014 +0100 coverity#1210169 Uninitialized scalar field Change-Id: I1e34ee6d62c18a5595afac939f8363085cb88bad diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx index 71a7d22..d5c6fa2 100644 --- a/sw/source/ui/table/tabledlg.cxx +++ b/sw/source/ui/table/tabledlg.cxx @@ -66,6 +66,7 @@ SwFormatTablePage::SwFormatTablePage(Window* pParent, const SfxItemSet& rSet) , pTblData(0) , nSaveWidth(0) , nMinTableWidth(MINLAY) + , nOldAlign(0) , bModified(sal_False) , bFull(0) , bHtmlMode(sal_False) commit aef642220cb3038823dec72036f4be571df3cd11 Author: Caolán McNamara <caol...@redhat.com> Date: Tue Apr 29 17:02:07 2014 +0100 coverity#1210170 Uninitialized scalar field Change-Id: Id63e45f65dbcbbd4d8e861405670369a0fa8d70e diff --git a/cui/source/tabpages/tabarea.cxx b/cui/source/tabpages/tabarea.cxx index cefd28b..3fcdbce 100644 --- a/cui/source/tabpages/tabarea.cxx +++ b/cui/source/tabpages/tabarea.cxx @@ -70,6 +70,7 @@ SvxAreaTabDialog::SvxAreaTabDialog mnGradientListState ( CT_NONE ), mnHatchingListState ( CT_NONE ), mnPageType( PT_AREA ), + mnPos( 0 ), mbAreaTP( false ) { m_nAreaTabPage = AddTabPage( "RID_SVXPAGE_AREA", SvxAreaTabPage::Create, 0 ); @@ -95,15 +96,10 @@ SvxAreaTabDialog::SvxAreaTabDialog rBtnCancel.SetClickHdl( LINK( this, SvxAreaTabDialog, CancelHdlImpl ) ); } - - SvxAreaTabDialog::~SvxAreaTabDialog() { } - - - void SvxAreaTabDialog::SavePalettes() { SfxObjectShell* pShell = SfxObjectShell::Current(); commit 2a061b9b0cc5d22d890f152c615b75abfcea96b7 Author: Caolán McNamara <caol...@redhat.com> Date: Tue Apr 29 17:00:27 2014 +0100 coverity#1210172 Uninitialized scalar field Change-Id: Ib24ca6323615e8a8ba704295d9a9fe92c80a1ae1 diff --git a/sw/source/ui/fldui/fldvar.cxx b/sw/source/ui/fldui/fldvar.cxx index 406d1d1..99ba1bd 100644 --- a/sw/source/ui/fldui/fldvar.cxx +++ b/sw/source/ui/fldui/fldvar.cxx @@ -40,6 +40,7 @@ SwFldVarPage::SwFldVarPage(Window* pParent, const SfxItemSet& rCoreSet ) : SwFldPage(pParent, "FldVarPage", "modules/swriter/ui/fldvarpage.ui", rCoreSet) + , nOldFormat(0) , bInit(true) { get(m_pTypeLB, "type"); commit eaff3d4add99d1e18303f5aeb2cc852fe754baf7 Author: Caolán McNamara <caol...@redhat.com> Date: Tue Apr 29 16:59:37 2014 +0100 coverity#1210173 Uninitialized scalar field Change-Id: I9da96ba05b0fb628ac497304c4e2aa987da0eab8 diff --git a/sw/source/ui/fldui/flddinf.cxx b/sw/source/ui/fldui/flddinf.cxx index 040a048..58e8035 100644 --- a/sw/source/ui/fldui/flddinf.cxx +++ b/sw/source/ui/fldui/flddinf.cxx @@ -51,6 +51,8 @@ SwFldDokInfPage::SwFldDokInfPage(Window* pParent, const SfxItemSet& rCoreSet) : SwFldPage(pParent, "FldDocInfoPage", "modules/swriter/ui/flddocinfopage.ui", rCoreSet) , pSelEntry(0) + , nOldSel(0) + , nOldFormat(0) { get(m_pTypeTLB, "type"); get(m_pSelection, "selectframe"); commit be6cba5e3cd31fea6bd2130fc10c44239e4c1ed1 Author: Caolán McNamara <caol...@redhat.com> Date: Tue Apr 29 16:58:30 2014 +0100 coverity#1210174 Uninitialized scalar field Change-Id: Ie9d104df391fd0581943a1c91421cfc08c95709e diff --git a/sw/source/ui/fldui/flddok.cxx b/sw/source/ui/fldui/flddok.cxx index 95bc444..1260773 100644 --- a/sw/source/ui/fldui/flddok.cxx +++ b/sw/source/ui/fldui/flddok.cxx @@ -37,6 +37,8 @@ SwFldDokPage::SwFldDokPage(Window* pParent, const SfxItemSet& rCoreSet ) : SwFldPage(pParent, "FldDocumentPage", "modules/swriter/ui/flddocumentpage.ui", rCoreSet) + , nOldSel(0) + , nOldFormat(0) { get(m_pSelection, "selectframe"); get(m_pFormat, "formatframe"); commit 5aaf20ef674c36ab634b1d3ee71141c97d0f804e Author: Caolán McNamara <caol...@redhat.com> Date: Tue Apr 29 16:57:26 2014 +0100 coverity#1210175 Uninitialized scalar field Change-Id: Id2c8432aba3268f7ffbe26c13e81025f2e047865 diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx index d85ab4f..fd5cb40 100644 --- a/oox/source/drawingml/shape.cxx +++ b/oox/source/drawingml/shape.cxx @@ -104,6 +104,7 @@ Shape::Shape( const sal_Char* pServiceName, bool bDefaultHeight ) , mbHiddenMasterShape( false ) , mbLockedCanvas( false ) , mbWps( false ) +, mbHasLinkedTxbx( false ) , maDiagramDoms( 0 ) { if ( pServiceName ) commit 5a887bd50e99b8e274dd11e20b6fcb9f89a80570 Author: Caolán McNamara <caol...@redhat.com> Date: Tue Apr 29 16:55:56 2014 +0100 coverity#1210176 Uninitialized pointer field Change-Id: I14f6ef8fe0e58859f29b2ec68e5fd563c98cb199 diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx index a46c2ee..91bef1a 100644 --- a/cui/source/options/optlingu.cxx +++ b/cui/source/options/optlingu.cxx @@ -347,6 +347,7 @@ public: OptionsBreakSet(Window* pParent, sal_uInt16 nRID) : ModalDialog(pParent, "BreakNumberOption", "cui/ui/breaknumberoption.ui") + , m_pBreakNF(NULL) { get(m_pBeforeFrame, "beforeframe"); get(m_pAfterFrame, "afterframe");
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits