Some cppcheck cleaning

Change-Id: I1cc0a9e5c7f8bfd310e9bf56664f0f8b396ad9ec
This commit is contained in:
Julien Nabet
2013-02-16 00:37:51 +01:00
parent 0df21bf1f4
commit 9d6bb5daa6
4 changed files with 4 additions and 4 deletions

View File

@ -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() );

View File

@ -69,7 +69,7 @@ namespace framework
osl_atomic_decrement( &m_refCount );
}
UndoManagerContextListener()
UndoManagerContextListener():m_nRelativeContextDepth(0), m_documentDisposed(false)
{
}

View File

@ -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?

View File

@ -88,7 +88,7 @@ private:
public:
ImplFontListFontInfo( const FontInfo& rInfo,
OutputDevice* pDev ) :
FontInfo( rInfo )
FontInfo( rInfo ), mpNext(NULL)
{
mpDevice = pDev;
}