shared: document*.cpp: Fix type mismatch, causing problems in qt6

Tá an tiomantas seo le fáil i:
Albert S. 2024-05-23 18:14:21 +02:00
tuismitheoir cfc64705e3
tiomantas d85c0bd2a5
D'athraigh 2 comhad le 3 breiseanna agus 3 scriosta

Féach ar an gComhad

@ -19,7 +19,7 @@ QDataStream &operator>>(QDataStream &in, DocumentOutlineEntry &pd)
{
in >> pd.text >> pd.type >> pd.destinationPage;
int numChildren;
qsizetype numChildren;
in >> numChildren;
for(int i = 0; i < numChildren; i++)
{

Féach ar an gComhad

@ -1,5 +1,5 @@
#include "documentprocessresult.h"
#include <QDebug>
QDataStream &operator<<(QDataStream &out, const DocumentProcessResult &pd)
{
out << pd.pages.size();
@ -17,7 +17,7 @@ QDataStream &operator<<(QDataStream &out, const DocumentProcessResult &pd)
QDataStream &operator>>(QDataStream &in, DocumentProcessResult &pd)
{
int numPages, numOutlines;
qsizetype numPages, numOutlines;
in >> numPages;
in >> numOutlines;