diff options
author | Stefan Heinemann <stefan.heinemann@codedump.ch> | 2015-09-25 13:06:09 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-09-29 18:33:40 +0000 |
commit | c50eb68af3096645246a77259bb3d1cc70eb6b63 (patch) | |
tree | a3f9442fa2d2c13464d1623f8bcf772b27426e72 /vcl/source/window/event.cxx | |
parent | 491c2e24ac110c9ebdb1a483c34ae3d14ab0d615 (diff) |
Renamed wrongly prefixed boolean variables
Fixed tdf#94269
Change-Id: I63109cc4e095bad680d7637a065080ea368860ae
Reviewed-on: https://gerrit.libreoffice.org/18851
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'vcl/source/window/event.cxx')
-rw-r--r-- | vcl/source/window/event.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/window/event.cxx b/vcl/source/window/event.cxx index fbbf24532ac7..ac950d6b8479 100644 --- a/vcl/source/window/event.cxx +++ b/vcl/source/window/event.cxx @@ -92,7 +92,7 @@ bool Window::PreNotify( NotifyEvent& rNEvt ) bool Window::Notify( NotifyEvent& rNEvt ) { - bool nRet = false; + bool bRet = false; if (IsDisposed()) return false; @@ -174,7 +174,7 @@ bool Window::Notify( NotifyEvent& rNEvt ) if ( ImplIsOverlapWindow() || ((getNonLayoutRealParent(this)->GetStyle() & (WB_DIALOGCONTROL | WB_NODIALOGCONTROL)) != WB_DIALOGCONTROL) ) { - nRet = ImplDlgCtrl( *rNEvt.GetKeyEvent(), rNEvt.GetType() == MouseNotifyEvent::KEYINPUT ); + bRet = ImplDlgCtrl( *rNEvt.GetKeyEvent(), rNEvt.GetType() == MouseNotifyEvent::KEYINPUT ); } } else if ( (rNEvt.GetType() == MouseNotifyEvent::GETFOCUS) || (rNEvt.GetType() == MouseNotifyEvent::LOSEFOCUS) ) @@ -191,13 +191,13 @@ bool Window::Notify( NotifyEvent& rNEvt ) } } - if ( !nRet ) + if ( !bRet ) { if ( mpWindowImpl->mpParent && !ImplIsOverlapWindow() ) - nRet = mpWindowImpl->mpParent->CompatNotify( rNEvt ); + bRet = mpWindowImpl->mpParent->CompatNotify( rNEvt ); } - return nRet; + return bRet; } void Window::CallEventListeners( sal_uLong nEvent, void* pData ) |