cpp: Return nullptr if the page at index can't be fethed

That is the same of what the glib/qt frontends do.

Bug #100981
2 files changed