summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-05 18:36:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-06 09:13:47 +0200
commit070b3a848d6824ea154ae2d68fc7571feed60a5f (patch)
treef65c1a45b601b2c585aa8c291b4eca2e56d915ab /vcl/win
parentdef00961243da0662f394bdf58b1157cfd45dfab (diff)
SystemEnvData::nSize is no longer read and can be removed
...since 5926b22b5dc33490d23d594b129eb8a70b94ffb0 "The SystemEnvData passed into the canvas factories appears to be unused". (And the user-provided SvpSalObject ctor can be removed, at which point the use in SvpSalInstance::CreateObject should be written without "()" to avoid loplugin:subtlezeroinit. Change-Id: I4392fa2d697b29c814d7b577a7b1f8c984c05e70 Reviewed-on: https://gerrit.libreoffice.org/80298 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/window/salframe.cxx1
-rw-r--r--vcl/win/window/salobj.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index cb46d5e29279..4546031b20b3 100644
--- a/vcl/win/window/salframe.cxx
+++ b/vcl/win/window/salframe.cxx
@@ -869,7 +869,6 @@ WinSalFrame::WinSalFrame()
mbPropertiesStored = false;
memset( &maState, 0, sizeof( SalFrameState ) );
- maSysData.nSize = sizeof( SystemEnvData );
memset( &maGeometry, 0, sizeof( maGeometry ) );
diff --git a/vcl/win/window/salobj.cxx b/vcl/win/window/salobj.cxx
index a1489a9cc42d..9840994bc9fa 100644
--- a/vcl/win/window/salobj.cxx
+++ b/vcl/win/window/salobj.cxx
@@ -550,7 +550,6 @@ WinSalObject::WinSalObject()
mhWnd = nullptr;
mhWndChild = nullptr;
mhLastFocusWnd = nullptr;
- maSysData.nSize = sizeof( SystemEnvData );
mpStdClipRgnData = nullptr;
// Insert object in objectlist