Fix compatibility with C++17.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 03cf41d9b0)
r14.1.x
Slávek Banko 7 months ago
parent 036f40f191
commit ce10966023
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -618,7 +618,7 @@ bool KGVDocument::savePages( const TQString& saveFileName,
PageList normedPageList;
transform( pageList.begin(), pageList.end(),
back_inserter( normedPageList ),
bind2nd( minus<int>(), minPage - 1 ) );
bind( minus<int>(), std::placeholders::_1, minPage - 1 ) );
// Finally select the desired pages from the converted file.
psCopyDoc( psSaveFile.name(), saveFileName, normedPageList );

Loading…
Cancel
Save