forked from amazingfate/loongoffice
Some cppcheck cleaning
Change-Id: I1cc0a9e5c7f8bfd310e9bf56664f0f8b396ad9ec
This commit is contained in:
@ -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() );
|
||||
|
||||
@ -69,7 +69,7 @@ namespace framework
|
||||
osl_atomic_decrement( &m_refCount );
|
||||
}
|
||||
|
||||
UndoManagerContextListener()
|
||||
UndoManagerContextListener():m_nRelativeContextDepth(0), m_documentDisposed(false)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@ -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?
|
||||
|
||||
@ -88,7 +88,7 @@ private:
|
||||
public:
|
||||
ImplFontListFontInfo( const FontInfo& rInfo,
|
||||
OutputDevice* pDev ) :
|
||||
FontInfo( rInfo )
|
||||
FontInfo( rInfo ), mpNext(NULL)
|
||||
{
|
||||
mpDevice = pDev;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user