Skip to content

Make Annot::getNF and Dict::getNF return const & instead of copy

Albert Astals Cid requested to merge aacid/poppler:const_ref_getnf into master

Lots of users can deal with a const & directly, so it saves us some copying. For the ones that can't move the copy to the caller side.

Some of copy() on the caller side can be easily removed, that will come on next commits

Merge request reports