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 /dbaccess/source/ui | |
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 'dbaccess/source/ui')
-rw-r--r-- | dbaccess/source/ui/app/AppDetailPageHelper.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/brwview.cxx | 6 | ||||
-rw-r--r-- | dbaccess/source/ui/misc/WTypeSelect.cxx | 8 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/limitboxcontroller.cxx | 8 | ||||
-rw-r--r-- | dbaccess/source/ui/relationdesign/RelationDesignView.cxx | 10 |
5 files changed, 18 insertions, 18 deletions
diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.cxx b/dbaccess/source/ui/app/AppDetailPageHelper.cxx index 0228f6b9c17f..b4b676915ea4 100644 --- a/dbaccess/source/ui/app/AppDetailPageHelper.cxx +++ b/dbaccess/source/ui/app/AppDetailPageHelper.cxx @@ -141,10 +141,10 @@ namespace } bool OTablePreviewWindow::Notify( NotifyEvent& rNEvt ) { - bool nRet = Window::Notify( rNEvt ); + bool bRet = Window::Notify( rNEvt ); if ( rNEvt.GetType() == MouseNotifyEvent::INPUTENABLE && IsInputEnabled() ) PostUserEvent( LINK( this, OTablePreviewWindow, OnDisableInput), NULL, true ); - return nRet; + return bRet; } IMPL_LINK_NOARG_TYPED(OTablePreviewWindow, OnDisableInput, void*, void) { diff --git a/dbaccess/source/ui/browser/brwview.cxx b/dbaccess/source/ui/browser/brwview.cxx index 7a93fe301d7b..4baa3b70ed73 100644 --- a/dbaccess/source/ui/browser/brwview.cxx +++ b/dbaccess/source/ui/browser/brwview.cxx @@ -297,7 +297,7 @@ void UnoDataBrowserView::_disposing( const css::lang::EventObject& /*_rSource*/ bool UnoDataBrowserView::PreNotify( NotifyEvent& rNEvt ) { - bool nDone = false; + bool bDone = false; if(rNEvt.GetType() == MouseNotifyEvent::KEYINPUT) { bool bGrabAllowed = isGrabVclControlFocusAllowed(this); @@ -314,11 +314,11 @@ bool UnoDataBrowserView::PreNotify( NotifyEvent& rNEvt ) else if ( m_pTreeView && m_pVclControl && m_pVclControl->HasChildPathFocus() ) m_pTreeView->GrabFocus(); - nDone = true; + bDone = true; } } } - return nDone || ODataView::PreNotify(rNEvt); + return bDone || ODataView::PreNotify(rNEvt); } BrowserViewStatusDisplay::BrowserViewStatusDisplay( UnoDataBrowserView* _pView, const OUString& _rStatus ) diff --git a/dbaccess/source/ui/misc/WTypeSelect.cxx b/dbaccess/source/ui/misc/WTypeSelect.cxx index 99be5378a93d..aa7125916aeb 100644 --- a/dbaccess/source/ui/misc/WTypeSelect.cxx +++ b/dbaccess/source/ui/misc/WTypeSelect.cxx @@ -401,14 +401,14 @@ VCL_BUILDER_FACTORY(OWizTypeSelectList) bool OWizTypeSelectList::PreNotify( NotifyEvent& rEvt ) { - bool nDone = false; + bool bDone = false; switch( rEvt.GetType() ) { case MouseNotifyEvent::MOUSEBUTTONDOWN: { const MouseEvent* pMEvt = rEvt.GetMouseEvent(); if(pMEvt->IsRight() && !pMEvt->GetModifier()) - nDone = true; + bDone = true; } break; case MouseNotifyEvent::COMMAND: @@ -448,13 +448,13 @@ bool OWizTypeSelectList::PreNotify( NotifyEvent& rEvt ) } break; } - nDone = true; + bDone = true; } break; default: break; } - return nDone || MultiListBox::PreNotify(rEvt); + return bDone || MultiListBox::PreNotify(rEvt); } void OWizTypeSelect::fillColumnList(sal_uInt32 nRows) diff --git a/dbaccess/source/ui/querydesign/limitboxcontroller.cxx b/dbaccess/source/ui/querydesign/limitboxcontroller.cxx index 54a682e77482..decbd5d64587 100644 --- a/dbaccess/source/ui/querydesign/limitboxcontroller.cxx +++ b/dbaccess/source/ui/querydesign/limitboxcontroller.cxx @@ -49,12 +49,12 @@ LimitBoxImpl::LimitBoxImpl( vcl::Window* pParent, LimitBoxController* pCtrl ) bool LimitBoxImpl::Notify( NotifyEvent& rNEvt ) { - bool nHandled = false; + bool bHandled = false; switch ( rNEvt.GetType() ) { case MouseNotifyEvent::LOSEFOCUS: { - nHandled = LimitBox::Notify( rNEvt ); + bHandled = LimitBox::Notify( rNEvt ); uno::Sequence< beans::PropertyValue > aArgs( 1 ); aArgs[0].Name = "DBLimit.Value"; aArgs[0].Value = uno::makeAny( GetValue() ); @@ -71,7 +71,7 @@ bool LimitBoxImpl::Notify( NotifyEvent& rNEvt ) // fall-through case KEY_RETURN: GrabFocusToDocument(); - nHandled = true; + bHandled = true; break; case KEY_TAB: Select(); @@ -82,7 +82,7 @@ bool LimitBoxImpl::Notify( NotifyEvent& rNEvt ) default: break; } - return nHandled || LimitBox::Notify( rNEvt ); + return bHandled || LimitBox::Notify( rNEvt ); } diff --git a/dbaccess/source/ui/relationdesign/RelationDesignView.cxx b/dbaccess/source/ui/relationdesign/RelationDesignView.cxx index 5e7f370b8600..3510f68e25e2 100644 --- a/dbaccess/source/ui/relationdesign/RelationDesignView.cxx +++ b/dbaccess/source/ui/relationdesign/RelationDesignView.cxx @@ -66,18 +66,18 @@ void ORelationDesignView::initialize() bool ORelationDesignView::PreNotify( NotifyEvent& rNEvt ) { - bool nDone = false; + bool bDone = false; if(rNEvt.GetType() == MouseNotifyEvent::GETFOCUS) { if(m_pTableView && !m_pTableView->HasChildPathFocus()) { m_pTableView->GrabTabWinFocus(); - nDone = true; + bDone = true; } } - if(!nDone) - nDone = OJoinDesignView::PreNotify(rNEvt); - return nDone; + if(!bDone) + bDone = OJoinDesignView::PreNotify(rNEvt); + return bDone; } void ORelationDesignView::GetFocus() |