summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-18 16:54:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-18 21:10:41 +0000
commitf1132fd50a2c5c0e3de5656382b4cea1e826e520 (patch)
tree1f26ffd2515647325e62ded9198328e8b4e4f90e /framework
parentf53615de094a7ae3edf429a97a9fa562014ec480 (diff)
SystemMenuData::nSize is never read
...and of little use if all users of SystemMenuData agree on the definition in vcl/sysdata.hxx Change-Id: Id102a30074b611e3ad37ce69ce27c929f4505495 Reviewed-on: https://gerrit.libreoffice.org/20044 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/menubarmanager.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx
index 346757a1b165..3f44ebeeb7e7 100644
--- a/framework/source/uielement/menubarmanager.cxx
+++ b/framework/source/uielement/menubarmanager.cxx
@@ -205,7 +205,6 @@ Any SAL_CALL MenuBarManager::getMenuHandle( const Sequence< sal_Int8 >& /*Proces
if ( m_pVCLMenu )
{
SystemMenuData aSystemMenuData;
- aSystemMenuData.nSize = sizeof( SystemMenuData );
m_pVCLMenu->GetSystemMenuData( &aSystemMenuData );
#ifdef _WIN32