diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-01-08 23:08:34 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-01-09 00:00:47 +0100 |
commit | 2f69e16c723aab48ad59d17397d8946ec0a48138 (patch) | |
tree | f59943e7a27ad60eda30cab8cdc3e8e716401db2 /vcl/source/window | |
parent | d7bebc89c19d70344a8d71c729bbcb3a59004114 (diff) |
override the overloading of "overload" to decrease cognitive (over-)load
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/menu.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/menubarwindow.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index 539c7520b6ef..81d031ee1bed 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -2847,7 +2847,7 @@ sal_uInt16 PopupMenu::ImplExecute( vcl::Window* pW, const Rectangle& rRect, sal_ ImplDelData aDelData; pW->ImplAddDel( &aDelData ); - bInCallback = true; // set it here, if Activate overloaded + bInCallback = true; // set it here, if Activate overridden Activate(); bInCallback = false; diff --git a/vcl/source/window/menubarwindow.cxx b/vcl/source/window/menubarwindow.cxx index 1af25afcc9ae..eb3bf182e194 100644 --- a/vcl/source/window/menubarwindow.cxx +++ b/vcl/source/window/menubarwindow.cxx @@ -473,7 +473,7 @@ void MenuBarWindow::ChangeHighlightItem( sal_uInt16 n, bool bSelectEntry, bool b } else bStayActive = false; - pMenu->bInCallback = true; // set here if Activate overloaded + pMenu->bInCallback = true; // set here if Activate overridden pMenu->Activate(); pMenu->bInCallback = false; bJustActivated = true; |