[Libreoffice-commits] core.git: 20 commits - include/toolkit sc/source sfx2/source sw/source toolkit/source tools/source
Caolán McNamara
caolanm at redhat.com
Mon Mar 10 07:44:23 PDT 2014
include/toolkit/controls/formattedcontrol.hxx | 12 ++-
sc/source/ui/dbgui/dbnamdlg.cxx | 17 ++++-
sfx2/source/appl/fileobj.cxx | 23 ++++---
sfx2/source/appl/linksrc.cxx | 7 +-
sfx2/source/bastyp/sfxhtml.cxx | 8 +-
sw/source/core/txtnode/fmtatr2.cxx | 3
sw/source/core/uibase/shells/drwbassh.cxx | 6 +
sw/source/core/uibase/uiview/uivwimp.cxx | 25 ++++----
sw/source/core/uibase/uno/unomod.cxx | 21 +++---
sw/source/filter/html/wrthtml.cxx | 25 ++++----
sw/source/filter/ww8/wrtww8.cxx | 79 ++++++++++++++++++++++----
sw/source/filter/ww8/ww8par2.cxx | 17 ++++-
toolkit/source/awt/vclxdevice.cxx | 5 -
toolkit/source/awt/vclxwindows.cxx | 1
toolkit/source/helper/accessibilityclient.cxx | 1
tools/source/generic/poly.cxx | 1
tools/source/inet/inetstrm.cxx | 12 ++-
tools/source/memtools/multisel.cxx | 9 ++
tools/source/ref/errinf.cxx | 9 +-
19 files changed, 199 insertions(+), 82 deletions(-)
New commits:
commit ba74c03f4a15d2f0f2ca20d1350128449c1405c2
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:55:53 2014 +0000
coverity#708153 Uninitialized scalar field
Change-Id: Ifd4e3f792a01d0f806b9d49355463eae79b877ab
diff --git a/sfx2/source/bastyp/sfxhtml.cxx b/sfx2/source/bastyp/sfxhtml.cxx
index 8e95e56..f06cbc8 100644
--- a/sfx2/source/bastyp/sfxhtml.cxx
+++ b/sfx2/source/bastyp/sfxhtml.cxx
@@ -63,9 +63,11 @@ static HTMLOptionEnum const aAreaShapeOptEnums[] =
};
SfxHTMLParser::SfxHTMLParser( SvStream& rStream, sal_Bool bIsNewDoc,
- SfxMedium *pMed ) :
- HTMLParser( rStream, bIsNewDoc ),
- pMedium( pMed ), pDLMedium( 0 )
+ SfxMedium *pMed )
+ : HTMLParser(rStream, bIsNewDoc)
+ , pMedium(pMed)
+ , pDLMedium(0)
+ , eScriptType(STARBASIC)
{
DBG_ASSERT( RTL_TEXTENCODING_UTF8 == GetSrcEncoding( ),
"SfxHTMLParser::SfxHTMLParser: From where comes ZS?" );
commit c9bb64be4f8ef475491b1fd13aff31daa5ff682b
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:54:06 2014 +0000
coverity#708146 Uninitialized scalar field
Change-Id: I5c1cb12572100b736152540d1453c7f25dc7a790
diff --git a/sfx2/source/appl/linksrc.cxx b/sfx2/source/appl/linksrc.cxx
index 7b29f37..ae0f213 100644
--- a/sfx2/source/appl/linksrc.cxx
+++ b/sfx2/source/appl/linksrc.cxx
@@ -178,7 +178,12 @@ struct SvLinkSource_Impl
m_xInputStreamToLoadFrom;
sal_Bool m_bIsReadOnly;
- SvLinkSource_Impl() : pTimer( 0 ), nTimeout( 3000 ) {}
+ SvLinkSource_Impl()
+ : pTimer(0)
+ , nTimeout(3000)
+ , m_bIsReadOnly(false)
+ {
+ }
~SvLinkSource_Impl();
void Closed();
commit 0cd511153b4dc4fb3378fb04641e8c3c2ea8543b
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:50:48 2014 +0000
coverity#708144 Uninitialized scalar field
Change-Id: Idbea2d2d0d282cbe131d1b96a0d7bafde3886c3a
diff --git a/sfx2/source/appl/fileobj.cxx b/sfx2/source/appl/fileobj.cxx
index c53000f..55ecb52 100644
--- a/sfx2/source/appl/fileobj.cxx
+++ b/sfx2/source/appl/fileobj.cxx
@@ -63,18 +63,23 @@ struct Impl_DownLoadData
}
};
-
-
-
-SvFileObject::SvFileObject() :
- pDownLoadData( NULL ), pOldParent( NULL ), nType( FILETYPE_TEXT )
+SvFileObject::SvFileObject()
+ : pDownLoadData(NULL)
+ , pOldParent(NULL)
+ , nType(FILETYPE_TEXT)
+ , bLoadAgain(true)
+ , bSynchron(false)
+ , bLoadError(false)
+ , bWaitForData(false)
+ , bInNewData(false)
+ , bDataReady(false)
+ , bNativFormat(false)
+ , bClearMedium(false)
+ , bStateChangeCalled(false)
+ , bInCallDownLoad(false)
{
- bLoadAgain = sal_True;
- bSynchron = bLoadError = bWaitForData = bDataReady = bNativFormat =
- bClearMedium = bStateChangeCalled = bInCallDownLoad = sal_False;
}
-
SvFileObject::~SvFileObject()
{
if ( xMed.Is() )
commit e5c05f4977818ea48e14a0e59560e3e14aa378b4
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:47:38 2014 +0000
coverity#708086 Uninitialized scalar field
Change-Id: I7d8967f90da3ad19c82a313636910279d6ef0f73
diff --git a/sc/source/ui/dbgui/dbnamdlg.cxx b/sc/source/ui/dbgui/dbnamdlg.cxx
index e5b9194..b1d01b3 100644
--- a/sc/source/ui/dbgui/dbnamdlg.cxx
+++ b/sc/source/ui/dbgui/dbnamdlg.cxx
@@ -53,10 +53,19 @@ class DBSaveData
public:
DBSaveData( Edit& rEd, CheckBox& rHdr, CheckBox& rSize, CheckBox& rFmt,
CheckBox& rStrip, ScRange& rArea )
- : rEdAssign(rEd),
- rBtnHeader(rHdr), rBtnSize(rSize), rBtnFormat(rFmt), rBtnStrip(rStrip),
- rCurArea(rArea),
- bHeader(false), bSize(false), bFormat(false), bDirty(false) {}
+ : rEdAssign(rEd)
+ , rBtnHeader(rHdr)
+ , rBtnSize(rSize)
+ , rBtnFormat(rFmt)
+ , rBtnStrip(rStrip)
+ , rCurArea(rArea)
+ , bHeader(false)
+ , bSize(false)
+ , bFormat(false)
+ , bStrip(false)
+ , bDirty(false)
+ {
+ }
void Save();
void Restore();
commit 7350da1d48f0b61bb2261f269921d7289dacf822
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:45:00 2014 +0000
coverity#708556 Uninitialized scalar field
Change-Id: Idf3cf19c9b95e2a1b21efbebd291d7bcd298dad4
diff --git a/tools/source/ref/errinf.cxx b/tools/source/ref/errinf.cxx
index c73539d..3a9dfd9 100644
--- a/tools/source/ref/errinf.cxx
+++ b/tools/source/ref/errinf.cxx
@@ -58,13 +58,14 @@ friend class ErrorInfo;
};
EDcrData::EDcrData()
+ : pFirstHdl(0)
+ , pFirstCtx(0)
+ , pDsp(0)
+ , bIsWindowDsp(false)
+ , nNextDcr(0)
{
for(sal_uInt16 n=0;n<ERRCODE_DYNAMIC_COUNT;n++)
ppDcr[n]=0;
- nNextDcr=0;
- pFirstHdl=0;
- pDsp=0;
- pFirstCtx=0;
}
EDcrData *EDcrData::GetData()
commit 7e5f4575ed4c7e835b8a41a3b9baff20ba436d04
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:43:06 2014 +0000
coverity#708553 Uninitialized scalar field
Change-Id: I73b6127a7e1791392218731a9b9af0795e69222a
diff --git a/tools/source/memtools/multisel.cxx b/tools/source/memtools/multisel.cxx
index 0a85caa..9aac9de 100644
--- a/tools/source/memtools/multisel.cxx
+++ b/tools/source/memtools/multisel.cxx
@@ -120,6 +120,13 @@ MultiSelection::MultiSelection( const MultiSelection& rOrig ) :
{
nCurSubSel = rOrig.nCurSubSel;
nCurIndex = rOrig.nCurIndex;
+ bInverseCur = rOrig.bInverseCur;
+ }
+ else
+ {
+ nCurSubSel = 0;
+ nCurIndex = 0;
+ bInverseCur = false;
}
// copy the sub selections
commit 3f9d796c41bd2a2590002dd417431c817d7b2290
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:41:09 2014 +0000
coverity#708551 Uninitialized scalar field
Change-Id: I04c727bd48a6b2cad9ae545a05fcdd53472bf667
diff --git a/tools/source/memtools/multisel.cxx b/tools/source/memtools/multisel.cxx
index 50a2242..0a85caa 100644
--- a/tools/source/memtools/multisel.cxx
+++ b/tools/source/memtools/multisel.cxx
@@ -130,7 +130,9 @@ MultiSelection::MultiSelection( const MultiSelection& rOrig ) :
MultiSelection::MultiSelection( const Range& rRange ):
aTotRange(rRange),
nCurSubSel(0),
+ nCurIndex(0),
nSelCount(0),
+ bInverseCur(false),
bCurValid(false),
bSelectNew(false)
{
commit 69f106cc35afc42bb00ff123982b31382149a354
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:39:11 2014 +0000
coverity#708548 Uninitialized pointer field
Change-Id: I7c4326bee7a781cf512c112b78ddf420a834ca15
diff --git a/tools/source/inet/inetstrm.cxx b/tools/source/inet/inetstrm.cxx
index 584d43d..71c8e47 100644
--- a/tools/source/inet/inetstrm.cxx
+++ b/tools/source/inet/inetstrm.cxx
@@ -145,11 +145,13 @@ int INetOStream::Write(const sal_Char* pData, sal_uIntPtr nSize)
// INetMessageIStream
INetMessageIStream::INetMessageIStream(sal_uIntPtr nBufferSize)
- : pSourceMsg (NULL),
- bHeaderGenerated (false),
- nBufSiz (nBufferSize),
- pMsgStrm (NULL),
- pMsgBuffer (new SvMemoryStream)
+ : pSourceMsg(NULL)
+ , bHeaderGenerated(false)
+ , nBufSiz(nBufferSize)
+ , pMsgStrm(NULL)
+ , pMsgBuffer(new SvMemoryStream)
+ , pMsgRead(NULL)
+ , pMsgWrite(NULL)
{
pMsgBuffer->SetStreamCharSet(RTL_TEXTENCODING_ASCII_US);
pBuffer = new sal_Char[nBufSiz];
commit e7235afeb350f9110d2eefb3ec5526c510339575
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:35:30 2014 +0000
coverity#708547 Uninitialized scalar field
Change-Id: Ib74b633355cc35d02a2a3847d2c98f2d52ca4a70
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index 7495194..c5a45db 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -1120,6 +1120,7 @@ public:
mnLow( nLow ),
mnHigh( nHigh ),
mnEdge( nEdge ),
+ mnLastOutside( 0 ),
mbFirst( true )
{
}
commit ecc6239f5b7decfc61b68e745175982fdeee931e
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:33:53 2014 +0000
coverity#708535 Uninitialized scalar field
Change-Id: Ife2acd5dd5193edd0ca34d85370885ee6865fadd
diff --git a/toolkit/source/helper/accessibilityclient.cxx b/toolkit/source/helper/accessibilityclient.cxx
index 7acdb933..80fa8fb 100644
--- a/toolkit/source/helper/accessibilityclient.cxx
+++ b/toolkit/source/helper/accessibilityclient.cxx
@@ -145,6 +145,7 @@ namespace toolkit
AccessibleDummyFactory::AccessibleDummyFactory()
+ : m_refCount(0)
{
}
commit 1f81c415737faaf17d2232838cf6a7883fcdbce1
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:32:18 2014 +0000
coverity#708534 Uninitialized pointer field
Change-Id: Id2e70f46b4ae249403ca68f3a45c86b13fa1ca16
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx
index 6176f85..60f9ed4 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -4653,6 +4653,7 @@ void VCLXFormattedSpinField::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds )
}
VCLXFormattedSpinField::VCLXFormattedSpinField()
+ : mpFormatter(NULL)
{
}
commit 496c53843631b015cbd3162d706109ce4e94a483
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:30:58 2014 +0000
coverity#708531 Uninitialized pointer field
Change-Id: I4519cf5b3ecf53c678621a4b8f6267dd4a41fcad
diff --git a/toolkit/source/awt/vclxdevice.cxx b/toolkit/source/awt/vclxdevice.cxx
index be11533..f9b1c4f 100644
--- a/toolkit/source/awt/vclxdevice.cxx
+++ b/toolkit/source/awt/vclxdevice.cxx
@@ -42,9 +42,10 @@
// class VCLXDevice
VCLXDevice::VCLXDevice()
+ : mpOutputDevice(NULL)
+ , pDummy(NULL)
+ , nFlags(0)
{
- mpOutputDevice = NULL;
- nFlags = 0;
}
VCLXDevice::~VCLXDevice()
commit 02c1234b26e3286338c3d9fdfa1ddf93fce73952
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:29:42 2014 +0000
coverity#708529 Uninitialized scalar field
Change-Id: I5633ec485f6d744302eec7c12a032b2ac4ae2e6f
diff --git a/include/toolkit/controls/formattedcontrol.hxx b/include/toolkit/controls/formattedcontrol.hxx
index 1d47f22..87f4db1 100644
--- a/include/toolkit/controls/formattedcontrol.hxx
+++ b/include/toolkit/controls/formattedcontrol.hxx
@@ -59,11 +59,13 @@ namespace toolkit
) throw (::com::sun::star::uno::Exception, std::exception);
public:
- UnoControlFormattedFieldModel( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
- UnoControlFormattedFieldModel( const UnoControlFormattedFieldModel& rModel )
- :UnoControlModel( rModel )
- {
- }
+ UnoControlFormattedFieldModel( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
+ UnoControlFormattedFieldModel( const UnoControlFormattedFieldModel& rModel )
+ : UnoControlModel(rModel)
+ , m_bRevokedAsClient(false)
+ , m_bSettingValueAndText(false)
+ {
+ }
UnoControlModel* Clone() const { return new UnoControlFormattedFieldModel( *this ); }
commit be354b64b9479dc60f96d2c2523e077c9cf8f837
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:28:08 2014 +0000
coverity#708528 Uninitialized scalar field
Change-Id: I7b8f4a9802419a8fdee3f1b8ceca383f5ec4bf5d
diff --git a/sw/source/core/uibase/uno/unomod.cxx b/sw/source/core/uibase/uno/unomod.cxx
index ba92932..88841c1 100644
--- a/sw/source/core/uibase/uno/unomod.cxx
+++ b/sw/source/core/uibase/uno/unomod.cxx
@@ -551,16 +551,17 @@ Sequence< OUString > SwXPrintSettings::getSupportedServiceNames(void) throw( Run
}
SwXViewSettings::SwXViewSettings(sal_Bool bWebView, SwView* pVw)
-: ChainableHelperNoState( lcl_createViewSettingsInfo (), &Application::GetSolarMutex() )
-, pView(pVw)
-, mpViewOption ( NULL )
-, mpConstViewOption ( NULL )
-, bObjectValid(sal_True)
-, bWeb(bWebView)
-, eHRulerUnit( FUNIT_CM )
-, mbApplyHRulerMetric( sal_False )
-, eVRulerUnit( FUNIT_CM )
-, mbApplyVRulerMetric( sal_False )
+ : ChainableHelperNoState( lcl_createViewSettingsInfo (), &Application::GetSolarMutex() )
+ , pView(pVw)
+ , mpViewOption(NULL)
+ , mpConstViewOption(NULL)
+ , bObjectValid(sal_True)
+ , bWeb(bWebView)
+ , mbApplyZoom(false)
+ , eHRulerUnit(FUNIT_CM)
+ , mbApplyHRulerMetric(sal_False)
+ , eVRulerUnit(FUNIT_CM)
+ , mbApplyVRulerMetric(sal_False)
{
// This property only exists if we have a view (ie, not at the module )
if ( !pView )
commit 9c88256094b7aca44c0ab6234e14ea1ccd8129ce
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:25:25 2014 +0000
coverity#708527 Uninitialized pointer field
Change-Id: Ie1b3083d1efe3cc1101c499c09601eeaba1b28c5
diff --git a/sw/source/core/uibase/uiview/uivwimp.cxx b/sw/source/core/uibase/uiview/uivwimp.cxx
index 6c6c191..1eaa6e7 100644
--- a/sw/source/core/uibase/uiview/uivwimp.cxx
+++ b/sw/source/core/uibase/uiview/uivwimp.cxx
@@ -52,17 +52,20 @@ using namespace ::com::sun::star::scanner;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::datatransfer::clipboard;
-SwView_Impl::SwView_Impl(SwView* pShell) :
- pxXTextView(new uno::Reference<view::XSelectionSupplier>),
- pView(pShell),
- eShellMode(SHELL_MODE_TEXT),
- pConfigItem(0),
- nMailMergeRestartPage(0),
- bMailMergeSourceView(sal_True),
- m_pDocInserter(NULL),
- m_pRequest(NULL),
- m_bSelectObject(false),
- m_bEditingPositionSet(false)
+SwView_Impl::SwView_Impl(SwView* pShell)
+ : pxXTextView(new uno::Reference<view::XSelectionSupplier>)
+ , pView(pShell)
+ , pScanEvtLstnr(0)
+ , pClipEvtLstnr(0)
+ , eShellMode(SHELL_MODE_TEXT)
+ , pConfigItem(0)
+ , nMailMergeRestartPage(0)
+ , bMailMergeSourceView(sal_True)
+ , m_pDocInserter(NULL)
+ , m_pRequest(NULL)
+ , m_nParam(0)
+ , m_bSelectObject(false)
+ , m_bEditingPositionSet(false)
{
*pxXTextView = new SwXTextView(pView);
xDisProvInterceptor = new SwXDispatchProviderInterceptor(*pView);
commit e96913d519bf4d823d799d8f5a0201cb5e016fcb
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:21:49 2014 +0000
coverity#708524 Uninitialized pointer field
Change-Id: I35c3e88d6dedabb58cc3e3831e2dbe53eba27959
diff --git a/sw/source/core/uibase/shells/drwbassh.cxx b/sw/source/core/uibase/shells/drwbassh.cxx
index c19d90c..f6493b8 100644
--- a/sw/source/core/uibase/shells/drwbassh.cxx
+++ b/sw/source/core/uibase/shells/drwbassh.cxx
@@ -73,8 +73,10 @@ SFX_IMPL_INTERFACE(SwDrawBaseShell, SwBaseShell, SW_RES(0))
TYPEINIT1(SwDrawBaseShell,SwBaseShell)
-SwDrawBaseShell::SwDrawBaseShell(SwView &_rView):
- SwBaseShell( _rView )
+SwDrawBaseShell::SwDrawBaseShell(SwView &_rView)
+ : SwBaseShell(_rView)
+ , pDrawActual(0)
+ , eDrawMode(0)
{
GetShell().NoEdit(true);
commit 63c1ea7b1c30e71e1e0f4ae40134a0f4ea778819
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:19:43 2014 +0000
coverity#708506 Uninitialized pointer field
Change-Id: I44d9a278bb2f08a8c71f28a9e175d0771cfd87ea
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 4a77e67..c248b54 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -3664,8 +3664,21 @@ void WW8RStyle::ImportGrupx(short nLen, bool bPara, bool bOdd)
}
WW8RStyle::WW8RStyle(WW8Fib& _rFib, SwWW8ImplReader* pI)
- : WW8Style(*pI->pTableStream, _rFib), maSprmParser(_rFib.GetFIBVersion()),
- pIo(pI), pStStrm(pI->pTableStream), pStyRule(0), nWwNumLevel(0)
+ : WW8Style(*pI->pTableStream, _rFib)
+ , maSprmParser(_rFib.GetFIBVersion())
+ , pIo(pI)
+ , pStStrm(pI->pTableStream)
+ , pStyRule(0)
+ , pParaSprms(0)
+ , nSprmsLen(0)
+ , nWwNumLevel(0)
+ , bTxtColChanged(false)
+ , bFontChanged(false)
+ , bCJKFontChanged(false)
+ , bCTLFontChanged(false)
+ , bFSizeChanged(false)
+ , bFCTLSizeChanged(false)
+ , bWidowsChanged(false)
{
pIo->vColl.resize(cstd);
}
commit 122c1e64e74d8a517e679d2e8b66b8abea61edb5
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:17:13 2014 +0000
coverity#708500 Uninitialized pointer field
Change-Id: I736198caa19019e8fae5ce92e571c35084a233bd
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
index 6457e5a..82b0fbd 100644
--- a/sw/source/filter/ww8/wrtww8.cxx
+++ b/sw/source/filter/ww8/wrtww8.cxx
@@ -3397,17 +3397,74 @@ sal_uLong SwWW8Writer::Write( SwPaM& rPaM, SfxMedium& rMed,
}
MSWordExportBase::MSWordExportBase( SwDoc *pDocument, SwPaM *pCurrentPam, SwPaM *pOriginalPam )
- : aMainStg(sMainStream), pISet(0), pUsedNumTbl(0), mpTopNodeOfHdFtPage(0),
- pBmpPal(0), pOLEExp(0), pOCXExp(0),
- mpTableInfo(new ww8::WW8TableInfo()), nUniqueList(0),
- mnHdFtIndex(0), pAktPageDesc(0), pPapPlc(0), pChpPlc(0), pChpIter(0),
- pStyles( NULL ),
- bHasHdr(false), bHasFtr(false), bSubstituteBullets(true),
- mbExportModeRTF( false ),
- mbOutOutlineOnly( false ),
- pDoc( pDocument ),
- pCurPam( pCurrentPam ),
- pOrigPam( pOriginalPam )
+ : aMainStg(sMainStream)
+ , pISet(0)
+ , pPiece(NULL)
+ , pUsedNumTbl(0)
+ , mpTopNodeOfHdFtPage(0)
+ , pBkmks(0)
+ , pRedlAuthors(0)
+ , pBmpPal(0)
+ , pOLEExp(0)
+ , pOCXExp(0)
+ , mpTableInfo(new ww8::WW8TableInfo())
+ , nCharFmtStart(0)
+ , nFmtCollStart(0)
+ , nStyleBeforeFly(0)
+ , nLastFmtId(0)
+ , nUniqueList(0)
+ , mnHdFtIndex(0)
+ , mnRedlineMode(0)
+ , pAktPageDesc(0)
+ , pPapPlc(0)
+ , pChpPlc(0)
+ , pChpIter(0)
+ , pStyles(NULL)
+ , pAtn(0)
+ , pTxtBxs(0)
+ , pHFTxtBxs(0)
+ , mpParentFrame(0)
+ , pFlyOffset(0)
+ , eNewAnchorType(FLY_AS_CHAR)
+ , pFldMain(0)
+ , pFldHdFt(0)
+ , pFldFtn(0)
+ , pFldEdn(0)
+ , pFldAtn(0)
+ , pFldTxtBxs(0)
+ , pFldHFTxtBxs(0)
+ , pMagicTable(0)
+ , pGrf(0)
+ , pStyAttr(0)
+ , pOutFmtNode(0)
+ , pCurrentStyle(0)
+ , pSdrObjs(0)
+ , pHFSdrObjs(0)
+ , pEscher(0)
+ , nTxtTyp(0)
+ , bStyDef(false)
+ , bBreakBefore(false)
+ , bOutKF(false)
+ , bOutFlyFrmAttrs(false)
+ , bOutPageDescs(false)
+ , bOutFirstPage(false)
+ , bOutTable(false)
+ , bOutGrf(false)
+ , bInWriteEscher(false)
+ , bStartTOX(false)
+ , bInWriteTOX(false)
+ , bFtnAtTxtEnd(false)
+ , bEndAtTxtEnd(false)
+ , bHasHdr(false)
+ , bHasFtr(false)
+ , bSubstituteBullets(true)
+ , bTabInTOC(false)
+ , bHideTabLeaderAndPageNumbers(false)
+ , mbExportModeRTF(false)
+ , mbOutOutlineOnly(false)
+ , pDoc(pDocument)
+ , pCurPam(pCurrentPam)
+ , pOrigPam(pOriginalPam)
{
}
commit 6dbe8335d0a1d2f3152136baa39258ef24c19526
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:06:27 2014 +0000
coverity#708487 Uninitialized pointer field
Change-Id: I0e64ccc22b8f08c75a32e1a855e4b5f88494cdfe
diff --git a/sw/source/filter/html/wrthtml.cxx b/sw/source/filter/html/wrthtml.cxx
index eb39cfc..cee8748 100644
--- a/sw/source/filter/html/wrthtml.cxx
+++ b/sw/source/filter/html/wrthtml.cxx
@@ -1270,19 +1270,20 @@ sal_uInt16 SwHTMLWriter::GetHTMLFontSize( sal_uInt32 nHeight ) const
// Struktur speichert die aktuellen Daten des Writers zwischen, um
// einen anderen Dokument-Teil auszugeben, wie z.B. Header/Footer
-HTMLSaveData::HTMLSaveData( SwHTMLWriter& rWriter, sal_uLong nStt,
+HTMLSaveData::HTMLSaveData(SwHTMLWriter& rWriter, sal_uLong nStt,
sal_uLong nEnd, sal_Bool bSaveNum,
- const SwFrmFmt *pFrmFmt ) :
- rWrt( rWriter ),
- pOldPam( rWrt.pCurPam ),
- pOldEnd( rWrt.GetEndPaM() ),
- pOldNumRuleInfo( 0 ),
- pOldNextNumRuleInfo( 0 ),
- nOldDefListLvl( rWrt.nDefListLvl ),
- nOldDirection( rWrt.nDirection ),
- bOldOutHeader( rWrt.bOutHeader ),
- bOldOutFooter( rWrt.bOutFooter ),
- bOldOutFlyFrame( rWrt.bOutFlyFrame )
+ const SwFrmFmt *pFrmFmt)
+ : rWrt(rWriter)
+ , pOldPam(rWrt.pCurPam)
+ , pOldEnd(rWrt.GetEndPaM())
+ , pOldNumRuleInfo(0)
+ , pOldNextNumRuleInfo(0)
+ , nOldDefListLvl(rWrt.nDefListLvl)
+ , nOldDirection(rWrt.nDirection)
+ , bOldOutHeader(rWrt.bOutHeader)
+ , bOldOutFooter(rWrt.bOutFooter)
+ , bOldOutFlyFrame(rWrt.bOutFlyFrame)
+ , pOldFlyFmt(NULL)
{
bOldWriteAll = rWrt.bWriteAll;
commit 2d3121b3a02f0d8e3e6fe2e22010423cffc11d5a
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 10 12:04:59 2014 +0000
coverity#708467 Uninitialized pointer field
Change-Id: Ibff2bdae74f5403b55d93d944fd518a063adf72a
diff --git a/sw/source/core/txtnode/fmtatr2.cxx b/sw/source/core/txtnode/fmtatr2.cxx
index 8782fdd..e612d4d 100644
--- a/sw/source/core/txtnode/fmtatr2.cxx
+++ b/sw/source/core/txtnode/fmtatr2.cxx
@@ -654,7 +654,8 @@ namespace sw {
Meta::Meta(SwFmtMeta * const i_pFmt)
: ::sfx2::Metadatable()
, SwModify()
- , m_pFmt( i_pFmt )
+ , m_pFmt(i_pFmt)
+ , m_pTxtNode(0)
{
}
More information about the Libreoffice-commits
mailing list