summaryrefslogtreecommitdiff
path: root/winrt/mupdf_cpp/MainPage.xaml.cpp
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2013-05-06 22:00:11 -0700
committerRobin Watts <robin.watts@artifex.com>2013-05-16 19:25:48 +0100
commit857d800824ae5cf5335c758f77ec928fdda52c63 (patch)
tree36fab4e5e9ab239b82f4f93eaba2a3108348eb6d /winrt/mupdf_cpp/MainPage.xaml.cpp
parente2b0ce7914ff846c80ff43488bc8a423315b9c17 (diff)
downloadmupdf-857d800824ae5cf5335c758f77ec928fdda52c63.tar.xz
Code cleanup
Diffstat (limited to 'winrt/mupdf_cpp/MainPage.xaml.cpp')
-rw-r--r--winrt/mupdf_cpp/MainPage.xaml.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/winrt/mupdf_cpp/MainPage.xaml.cpp b/winrt/mupdf_cpp/MainPage.xaml.cpp
index a75f1500..a8b1d930 100644
--- a/winrt/mupdf_cpp/MainPage.xaml.cpp
+++ b/winrt/mupdf_cpp/MainPage.xaml.cpp
@@ -88,7 +88,6 @@ MainPage::MainPage()
m_linkcolor_brush = ref new SolidColorBrush(color);
// Create the image brush
- m_renderedImage = ref new ImageBrush();
mu_doc = nullptr;
m_docPages = ref new Platform::Collections::Vector<DocumentPage^>();
CleanUp();
@@ -392,8 +391,6 @@ void mupdf_cpp::MainPage::CleanUp()
m_slider_max = 0;
m_init_done = false;
m_memory_use = 0;
- m_from_doubleflip = false;
- m_first_time = false;
m_insearch = false;
m_search_active = false;
m_sliderchange = false;
@@ -405,9 +402,6 @@ void mupdf_cpp::MainPage::CleanUp()
m_thumb_page_start = 0;
m_thumb_page_stop = 0;
m_links_on = false;
- m_curr_zoom = 1.0;
- m_canvas_translate.X = 0;
- m_canvas_translate.Y = 0;
this->xaml_PageSlider->Minimum = m_slider_min;
this->xaml_PageSlider->Maximum = m_slider_max;