From 0cb4ff7dad74f5815efea62bc32a11f16efea38d Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Thu, 26 Oct 2017 21:09:21 +0200 Subject: [PATCH] Fix copy&paste mistake --- core/document.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/document.cpp b/core/document.cpp index 960376210..19293140a 100644 --- a/core/document.cpp +++ b/core/document.cpp @@ -4466,7 +4466,7 @@ bool Document::swapBackingFileArchive( const QString &newFileName, const QUrl & qCDebug(OkularCoreDebug) << "Swapping backing file to" << tempFileName; QVector< Page * > newPagesVector; - if (genIt->generator->swapBackingFile( newFileName, newPagesVector )) + if (genIt->generator->swapBackingFile( tempFileName, newPagesVector )) { // TODO Do the same we do in the other swapBackingFile call