[poppler] Branch 'poppler-0.16' - cpp/poppler-page-transition.cpp
Albert Astals Cid
aacid at kemper.freedesktop.org
Wed Apr 27 00:39:22 PDT 2011
cpp/poppler-page-transition.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 0551a7ed3709ad355e87ed64cb7f435804d39143
Author: Albert Astals Cid <aacid at kde.org>
Date: Wed Apr 27 08:38:17 2011 +0100
Fix page_transition::operator=
(cherry picked from commit 49d199fd1ea14383638739d95d019adb33b17768)
diff --git a/cpp/poppler-page-transition.cpp b/cpp/poppler-page-transition.cpp
index 03d33b5..7c83723 100644
--- a/cpp/poppler-page-transition.cpp
+++ b/cpp/poppler-page-transition.cpp
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2009-2010, Pino Toscano <pino at kde.org>
+ * Copyright (C) 2011, Albert Astals Cid <aacid at kde.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -121,7 +122,7 @@ page_transition& page_transition::operator=(const page_transition &pt)
if (&pt != this) {
page_transition_private *new_d = new page_transition_private(*pt.d);
delete d;
- new_d = d;
+ d = new_d;
}
return *this;
}
More information about the poppler
mailing list