diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-26 18:10:04 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-26 18:14:25 +0200 |
commit | a5ef818b4aa3f38600105896a65ba97fdd426d29 (patch) | |
tree | ec10487ca0766b2c6036831ea976196c93f1b0ac /include/vcl | |
parent | 4944bd81ed056b5002ea36718ab4e953ba77c171 (diff) |
Remove unused AddMenuBarButton parameter
...which had apparently been unused ever since the function's introduction in
86ef4422bc62f912f72c0bedda47ce0e6e2722e4 "INTEGRATION: CWS onlineupdate3," even
though the function's code had always been careful to clip the value to
m_aAddButtons.size() (which was now detected by clang-tidy's
clang-analyzer-deadcode.DeadStores)
Change-Id: Ic3542aaef04d059125d997cdc5e199d5edb1184a
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/menu.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx index 9daae73b1a83..6fc495f3e43a 100644 --- a/include/vcl/menu.hxx +++ b/include/vcl/menu.hxx @@ -489,7 +489,7 @@ public: // add an arbitrary button to the menubar (will appear next to closer) // passed link will be call with a MenuBarButtonCallbackArg on press // passed string will be set as tooltip - sal_uInt16 AddMenuBarButton( const Image&, const Link<>&, const OUString&, sal_uInt16 nPos = 0 ); + sal_uInt16 AddMenuBarButton( const Image&, const Link<>&, const OUString& ); // set the highlight link for additional button with ID nId // highlight link will be called with a MenuBarButtonHighlightArg // the bHighlight member of that struct shall contain the new state |