summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-28 15:27:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-29 06:42:30 +0000
commit5a725d1fde7381ef9c02afcb639235a11e52182c (patch)
treec1dfea787afb28c43be74eb981976e858550ccd1 /vcl
parent2729994bc519597db205aeeb4b2242a45c57712f (diff)
loplugin:singlevalfields
Change-Id: I7f05903aaab9b0b274358243d680d0c30694ae61 Reviewed-on: https://gerrit.libreoffice.org/35804 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/window.h1
-rw-r--r--vcl/source/app/svapp.cxx3
-rw-r--r--vcl/source/window/window.cxx1
3 files changed, 0 insertions, 5 deletions
diff --git a/vcl/inc/window.h b/vcl/inc/window.h
index 7c4d116ffa58..6553b18eb40c 100644
--- a/vcl/inc/window.h
+++ b/vcl/inc/window.h
@@ -134,7 +134,6 @@ struct ImplFrameData
sal_uInt16 mnFirstMouseCode; //< mouse code by mousebuttondown
sal_uInt16 mnMouseCode; //< mouse code
MouseEventModifiers mnMouseMode; //< mouse mode
- MapUnit meMapUnit; //< last MapUnit for LogicUnitToPixel
bool mbHasFocus; //< focus
bool mbInMouseMove; //< is MouseMove on stack
bool mbMouseIn; //> is Mouse inside the frame
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 409953bf42d5..1dc3e6012036 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -723,9 +723,6 @@ void Application::SetSettings( const AllSettings& rSettings )
vcl::Window* pFrame = pFirstFrame;
while ( pFrame )
{
- // restore AppFont cache data
- pFrame->mpWindowImpl->mpFrameData->meMapUnit = MapUnit::MapPixel;
-
// call UpdateSettings from ClientWindow in order to prevent updating data twice
vcl::Window* pClientWin = pFrame;
while ( pClientWin->ImplGetClientWindow() )
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 70b77446f7a2..848fdc942b43 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -803,7 +803,6 @@ ImplFrameData::ImplFrameData( vcl::Window *pWindow )
mnFirstMouseCode = 0;
mnMouseCode = 0;
mnMouseMode = MouseEventModifiers::NONE;
- meMapUnit = MapUnit::MapPixel;
mbHasFocus = false;
mbInMouseMove = false;
mbMouseIn = false;