Fix gcc compil warnings.

This commit is contained in:
jean-pierre charras 2022-09-25 11:01:25 +02:00
parent 796e44d1e6
commit 7c44dbd9d6
2 changed files with 3 additions and 3 deletions

View File

@ -840,9 +840,9 @@ void PDF_PLOTTER::ClosePage()
VECTOR2I bottomLeft = iuToPdfUserSpace( box.GetPosition() );
VECTOR2I topRight = iuToPdfUserSpace( box.GetEnd() );
int actionHandle = emitGoToAction( pageHandle, bottomLeft, topRight );
int curr_actionHandle = emitGoToAction( pageHandle, bottomLeft, topRight );
addOutlineNode( groupOutlineNode, actionHandle, ref );
addOutlineNode( groupOutlineNode, curr_actionHandle, ref );
}
std::sort( groupOutlineNode->children.begin(), groupOutlineNode->children.end(),

View File

@ -377,7 +377,7 @@ protected:
{
OUTLINE_NODE* child = new OUTLINE_NODE
{
aActionHandle, aTitle, aEntryHandle
aActionHandle, aTitle, aEntryHandle, {}
};
children.push_back( child );