summaryrefslogtreecommitdiff
path: root/vcl/win/app/salinfo.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-14 09:12:31 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-14 07:46:27 +0000
commit6656693836a382e6dac3a8c7ae794517b5f92bcc (patch)
tree9ad507b2fe0502b0be0e6278c79661c617b440d3 /vcl/win/app/salinfo.cxx
parent235dcc11e7e5291188e134f37a03849d741c4f6e (diff)
remove dead fields from WinSalSystem::DisplayMonitor
Change-Id: I76254f194ac1bbd019b8c46f3f3f0f28e4e7f0ec Reviewed-on: https://gerrit.libreoffice.org/24074 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/win/app/salinfo.cxx')
-rw-r--r--vcl/win/app/salinfo.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/vcl/win/app/salinfo.cxx b/vcl/win/app/salinfo.cxx
index ae80798cf6c2..8b70632963cf 100644
--- a/vcl/win/app/salinfo.cxx
+++ b/vcl/win/app/salinfo.cxx
@@ -94,9 +94,7 @@ bool WinSalSystem::initMonitors()
int w = GetSystemMetrics( SM_CXSCREEN );
int h = GetSystemMetrics( SM_CYSCREEN );
m_aMonitors.push_back( DisplayMonitor( OUString(),
- OUString(),
- Rectangle( Point(), Size( w, h ) ),
- 0 ) );
+ Rectangle( Point(), Size( w, h ) ) ) );
m_aDeviceNameToMonitor[ OUString() ] = 0;
m_nPrimary = 0;
}
@@ -121,9 +119,7 @@ bool WinSalSystem::initMonitors()
aDeviceStringCount[ aDeviceString ]++;
m_aDeviceNameToMonitor[ aDeviceName ] = m_aMonitors.size();
m_aMonitors.push_back( DisplayMonitor( aDeviceString,
- aDeviceName,
- Rectangle(),
- aDev.StateFlags ) );
+ Rectangle() ) );
}
}
HDC aDesktopRC = GetDC( NULL );