Loading common/gal/cairo/cairo_compositor.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,10 @@ using namespace KIGFX; CAIRO_COMPOSITOR::CAIRO_COMPOSITOR( cairo_t** aMainContext ) : m_current( 0 ), m_currentContext( aMainContext ), m_mainContext( *aMainContext ) { // Do not have uninitialized members: cairo_matrix_init_identity( &m_matrix ); m_stride = 0; m_bufferSize = 0; } Loading common/gal/graphics_abstraction_layer.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -48,8 +48,10 @@ GAL::GAL() : SetWorldUnitLength( 1.0 / METRIC_UNIT_LENGTH * 2.54 ); // 1 inch in nanometers SetScreenDPI( 106 ); // Display resolution setting SetDepthRange( VECTOR2D( GAL::MIN_DEPTH, GAL::MAX_DEPTH ) ); SetLayerDepth( 0.0 ); SetFlip( false, false ); SetLineWidth( 1.0 ); ComputeWorldScale(); // Set grid defaults SetGridVisibility( true ); Loading common/gal/opengl/cached_container.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,11 @@ CACHED_CONTAINER::CACHED_CONTAINER( unsigned int aSize ) : { // In the beginning there is only free space m_freeChunks.insert( CHUNK( aSize, 0 ) ); // Do not have uninitialized members: m_chunkSize = 0; m_chunkOffset = 0; m_itemSize = 0; } Loading common/gal/opengl/shader.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -45,7 +45,10 @@ SHADER::SHADER() : maximumVertices( 4 ), geomInputType( GL_LINES ), geomOutputType( GL_LINES ) { // Do not have uninitialized members: programNumber = 0; } Loading eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,7 @@ DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB::DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB( { m_parent = aParent; m_libEntry = aLibEntry; m_skipCopyFromPanel = false; GetSizer()->SetSizeHints( this ); Centre(); Loading Loading
common/gal/cairo/cairo_compositor.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,10 @@ using namespace KIGFX; CAIRO_COMPOSITOR::CAIRO_COMPOSITOR( cairo_t** aMainContext ) : m_current( 0 ), m_currentContext( aMainContext ), m_mainContext( *aMainContext ) { // Do not have uninitialized members: cairo_matrix_init_identity( &m_matrix ); m_stride = 0; m_bufferSize = 0; } Loading
common/gal/graphics_abstraction_layer.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -48,8 +48,10 @@ GAL::GAL() : SetWorldUnitLength( 1.0 / METRIC_UNIT_LENGTH * 2.54 ); // 1 inch in nanometers SetScreenDPI( 106 ); // Display resolution setting SetDepthRange( VECTOR2D( GAL::MIN_DEPTH, GAL::MAX_DEPTH ) ); SetLayerDepth( 0.0 ); SetFlip( false, false ); SetLineWidth( 1.0 ); ComputeWorldScale(); // Set grid defaults SetGridVisibility( true ); Loading
common/gal/opengl/cached_container.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,11 @@ CACHED_CONTAINER::CACHED_CONTAINER( unsigned int aSize ) : { // In the beginning there is only free space m_freeChunks.insert( CHUNK( aSize, 0 ) ); // Do not have uninitialized members: m_chunkSize = 0; m_chunkOffset = 0; m_itemSize = 0; } Loading
common/gal/opengl/shader.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -45,7 +45,10 @@ SHADER::SHADER() : maximumVertices( 4 ), geomInputType( GL_LINES ), geomOutputType( GL_LINES ) { // Do not have uninitialized members: programNumber = 0; } Loading
eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,7 @@ DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB::DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB( { m_parent = aParent; m_libEntry = aLibEntry; m_skipCopyFromPanel = false; GetSizer()->SetSizeHints( this ); Centre(); Loading