summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-07-01 06:41:04 +0200
committerDavid Tardon <dtardon@redhat.com>2012-07-01 06:41:04 +0200
commitf047d86ffa7f3ae3f78c20356b58d6d681398bc8 (patch)
tree0f71338c0404a1539426a0e7c7addca3eacf10be
parent5cdf1b038052e2483425ef8d1761a98042432623 (diff)
!=, not ==
-rw-r--r--src/lib/VSDXPages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/VSDXPages.cpp b/src/lib/VSDXPages.cpp
index 178ba9b..3a4050c 100644
--- a/src/lib/VSDXPages.cpp
+++ b/src/lib/VSDXPages.cpp
@@ -51,7 +51,7 @@ libvisio::VSDXPage::~VSDXPage()
libvisio::VSDXPage &libvisio::VSDXPage::operator=(const libvisio::VSDXPage &page)
{
- if (this == &page)
+ if (this != &page)
{
m_pageWidth = page.m_pageWidth;
m_pageHeight = page.m_pageHeight;