summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2018-11-14 14:53:04 +0100
committerAlbert Astals Cid <tsdgeos@yahoo.es>2018-11-15 22:37:21 +0000
commit13708e8fd48b4ce72276a99f32d54a2b3b016897 (patch)
tree2e49ae8b08e093b2a60e521cce27529dd82140f9 /glib
parentaa864c8729595e64af136d181bfb581d80e03eb7 (diff)
Annot: Remove some inc/defRef by Object moving
Diffstat (limited to 'glib')
-rw-r--r--glib/poppler-action.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/poppler-action.cc b/glib/poppler-action.cc
index dcee6fb3..9af67571 100644
--- a/glib/poppler-action.cc
+++ b/glib/poppler-action.cc
@@ -477,7 +477,7 @@ find_annot_movie_for_action (PopplerDocument *document,
if (annotObj.isDict ()) {
Object tmp;
- annot = new AnnotMovie (document->doc, &annotObj, &tmp);
+ annot = new AnnotMovie (document->doc, std::move(annotObj), &tmp);
if (!annot->isOk ()) {
delete annot;
annot = nullptr;