Kaydet (Commit) 52a52a21 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1320472 Uninitialized scalar field

Change-Id: I50e07779a541bbea6b285a855fb54d419d4aed13
üst 0d80e7d7
......@@ -169,20 +169,23 @@ OpenGLTexture::OpenGLTexture(ImplOpenGLTexture* pImpl, Rectangle aRectangle, int
mpImpl->IncreaseRefCount(nSlotNumber);
}
OpenGLTexture::OpenGLTexture( int nWidth, int nHeight, bool bAllocate ) :
maRect( Point( 0, 0 ), Size( nWidth, nHeight ) )
OpenGLTexture::OpenGLTexture( int nWidth, int nHeight, bool bAllocate )
: maRect( Point( 0, 0 ), Size( nWidth, nHeight ) )
, mnSlotNumber(-1)
{
mpImpl = new ImplOpenGLTexture( nWidth, nHeight, bAllocate );
}
OpenGLTexture::OpenGLTexture( int nX, int nY, int nWidth, int nHeight ) :
maRect( Point( 0, 0 ), Size( nWidth, nHeight ) )
OpenGLTexture::OpenGLTexture( int nX, int nY, int nWidth, int nHeight )
: maRect( Point( 0, 0 ), Size( nWidth, nHeight ) )
, mnSlotNumber(-1)
{
mpImpl = new ImplOpenGLTexture( nX, nY, nWidth, nHeight );
}
OpenGLTexture::OpenGLTexture( int nWidth, int nHeight, int nFormat, int nType, sal_uInt8* pData ) :
maRect( Point( 0, 0 ), Size( nWidth, nHeight ) )
OpenGLTexture::OpenGLTexture( int nWidth, int nHeight, int nFormat, int nType, sal_uInt8* pData )
: maRect( Point( 0, 0 ), Size( nWidth, nHeight ) )
, mnSlotNumber(-1)
{
mpImpl = new ImplOpenGLTexture( nWidth, nHeight, nFormat, nType, pData );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment