diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-05 18:36:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-06 09:13:47 +0200 |
commit | 070b3a848d6824ea154ae2d68fc7571feed60a5f (patch) | |
tree | f65c1a45b601b2c585aa8c291b4eca2e56d915ab /vcl/osx | |
parent | def00961243da0662f394bdf58b1157cfd45dfab (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/osx')
-rw-r--r-- | vcl/osx/salframe.cxx | 2 | ||||
-rw-r--r-- | vcl/osx/salobj.cxx | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx index 3057611d12b8..0ab8d9160dcf 100644 --- a/vcl/osx/salframe.cxx +++ b/vcl/osx/salframe.cxx @@ -84,8 +84,6 @@ AquaSalFrame::AquaSalFrame( SalFrame* pParent, SalFrameStyleFlags salFrameStyle mrClippingPath( nullptr ), mnICOptions( InputContextFlags::NONE ) { - maSysData.nSize = sizeof( SystemEnvData ); - mpParent = dynamic_cast<AquaSalFrame*>(pParent); initWindowAndView(); diff --git a/vcl/osx/salobj.cxx b/vcl/osx/salobj.cxx index fb1105b6adb7..34679dcdbaf7 100644 --- a/vcl/osx/salobj.cxx +++ b/vcl/osx/salobj.cxx @@ -43,7 +43,6 @@ AquaSalObject::AquaSalObject( AquaSalFrame* pFrame, SystemWindowData const * pWi mnWidth( 20 ), mnHeight( 20 ) { - maSysData.nSize = sizeof( maSysData ); maSysData.mpNSView = nullptr; maSysData.mbOpenGL = false; |