diff options
-rw-r--r-- | src/lib/VSDXPages.cpp | 2 |
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; |