qt5: Revert involuntary ABI change
diff --git a/qt5/src/Doxyfile b/qt5/src/Doxyfile
index 9c96749..58fbafa 100644
--- a/qt5/src/Doxyfile
+++ b/qt5/src/Doxyfile
@@ -31,7 +31,7 @@
# This could be handy for archiving the generated documentation or
# if some version control system is used.
-PROJECT_NUMBER = 0.71.0
+PROJECT_NUMBER = 0.72.0
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
diff --git a/qt5/src/poppler-link.cc b/qt5/src/poppler-link.cc
index 2ede7f2..da3d5d8 100644
--- a/qt5/src/poppler-link.cc
+++ b/qt5/src/poppler-link.cc
@@ -591,7 +591,7 @@
}
// LinkRendition
- LinkRendition::LinkRendition( const QRectF &linkArea, ::MediaRendition *rendition, int operation, const QString &script, const Ref annotationReference )
+ LinkRendition::LinkRendition( const QRectF &linkArea, ::MediaRendition *rendition, int operation, const QString &script, const Ref &annotationReference ) // clazy:exclude=function-args-by-value
: Link( *new LinkRenditionPrivate( linkArea, rendition, static_cast<enum ::LinkRendition::RenditionOperation>(operation), script, annotationReference ) )
{
}
@@ -658,7 +658,7 @@
}
// LinkMovie
- LinkMovie::LinkMovie( const QRectF &linkArea, Operation operation, const QString &annotationTitle, const Ref annotationReference )
+ LinkMovie::LinkMovie( const QRectF &linkArea, Operation operation, const QString &annotationTitle, const Ref &annotationReference ) // clazy:exclude=function-args-by-value
: Link( *new LinkMoviePrivate( linkArea, operation, annotationTitle, annotationReference ) )
{
}
diff --git a/qt5/src/poppler-link.h b/qt5/src/poppler-link.h
index 0172973..cfca896 100644
--- a/qt5/src/poppler-link.h
+++ b/qt5/src/poppler-link.h
@@ -496,7 +496,8 @@
* \param annotationReference the object reference of the screen annotation associated with this rendition action
* \since 0.22
*/
- LinkRendition( const QRectF &linkArea, ::MediaRendition *rendition, int operation, const QString &script, const Ref annotationReference );
+ // TODO Next ABI break, remove & from annotationReference
+ LinkRendition( const QRectF &linkArea, ::MediaRendition *rendition, int operation, const QString &script, const Ref &annotationReference );
/**
* Destructor.
@@ -595,7 +596,8 @@
*
* Note: This constructor is supposed to be used by Poppler::Page only.
*/
- LinkMovie( const QRectF &linkArea, Operation operation, const QString &annotationTitle, const Ref annotationReference );
+ // TODO Next ABI break, remove & from annotationReference
+ LinkMovie( const QRectF &linkArea, Operation operation, const QString &annotationTitle, const Ref &annotationReference );
/**
* Destructor.
*/