filter/source/graphicfilter/eos2met/eos2met.cxx | 2 +- framework/source/fwe/helper/documentundoguard.cxx | 2 +- svl/source/items/poolio.cxx | 2 +- svtools/source/control/ctrltool.cxx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
New commits: commit 9d6bb5daa67fef7abe07cfbfa22cd52ce73d804e Author: Julien Nabet <[email protected]> Date: Sat Feb 16 00:37:51 2013 +0100 Some cppcheck cleaning Change-Id: I1cc0a9e5c7f8bfd310e9bf56664f0f8b396ad9ec diff --git a/filter/source/graphicfilter/eos2met/eos2met.cxx b/filter/source/graphicfilter/eos2met/eos2met.cxx index 5e8bd9b..5fe8847 100644 --- a/filter/source/graphicfilter/eos2met/eos2met.cxx +++ b/filter/source/graphicfilter/eos2met/eos2met.cxx @@ -235,7 +235,7 @@ private: public: METWriter() : - pCompDev( NULL ) + pMET(NULL), pGDIStack(NULL), nMETStrokeLineWidth(0), nMETChrAngle(0), pChrSetList(NULL), pCompDev(NULL) { #ifndef NO_GETAPPWINDOW pCompDev = reinterpret_cast< OutputDevice* >( Application::GetAppWindow() ); diff --git a/framework/source/fwe/helper/documentundoguard.cxx b/framework/source/fwe/helper/documentundoguard.cxx index 8fe6011..cbf5318 100644 --- a/framework/source/fwe/helper/documentundoguard.cxx +++ b/framework/source/fwe/helper/documentundoguard.cxx @@ -69,7 +69,7 @@ namespace framework osl_atomic_decrement( &m_refCount ); } - UndoManagerContextListener() + UndoManagerContextListener():m_nRelativeContextDepth(0), m_documentDisposed(false) { } diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx index 1041832..dc9bcc4 100644 --- a/svl/source/items/poolio.cxx +++ b/svl/source/items/poolio.cxx @@ -1098,9 +1098,9 @@ const SfxPoolItem* SfxItemPool::LoadSurrogate } // kann Surrogat aufgel"ost werden? - const SfxPoolItem *pItem = 0; if ( bResolvable ) { + const SfxPoolItem *pItem = 0; for ( SfxItemPool *pTarget = this; pTarget; pTarget = pTarget->pImp->mpSecondary ) { // richtigen (Folge-) Pool gefunden? diff --git a/svtools/source/control/ctrltool.cxx b/svtools/source/control/ctrltool.cxx index b73fa33..4c50170 100644 --- a/svtools/source/control/ctrltool.cxx +++ b/svtools/source/control/ctrltool.cxx @@ -88,7 +88,7 @@ private: public: ImplFontListFontInfo( const FontInfo& rInfo, OutputDevice* pDev ) : - FontInfo( rInfo ) + FontInfo( rInfo ), mpNext(NULL) { mpDevice = pDev; } _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
