From c50eb68af3096645246a77259bb3d1cc70eb6b63 Mon Sep 17 00:00:00 2001 From: Stefan Heinemann Date: Fri, 25 Sep 2015 13:06:09 +0200 Subject: Renamed wrongly prefixed boolean variables Fixed tdf#94269 Change-Id: I63109cc4e095bad680d7637a065080ea368860ae Reviewed-on: https://gerrit.libreoffice.org/18851 Reviewed-by: Michael Stahl Tested-by: Michael Stahl --- extensions/source/bibliography/bibcont.cxx | 8 ++++---- extensions/source/bibliography/toolbar.cxx | 8 ++++---- extensions/source/propctrlr/standardcontrol.cxx | 16 ++++++++-------- 3 files changed, 16 insertions(+), 16 deletions(-) (limited to 'extensions') diff --git a/extensions/source/bibliography/bibcont.cxx b/extensions/source/bibliography/bibcont.cxx index bd1a0693f52b..6666fef2d626 100644 --- a/extensions/source/bibliography/bibcont.cxx +++ b/extensions/source/bibliography/bibcont.cxx @@ -216,7 +216,7 @@ void BibBookContainer::GetFocus() bool BibBookContainer::PreNotify( NotifyEvent& rNEvt ) { - bool nHandled = false; + bool bHandled = false; if( MouseNotifyEvent::KEYINPUT == rNEvt.GetType() ) { const KeyEvent* pKEvt = rNEvt.GetKeyEvent(); @@ -239,14 +239,14 @@ bool BibBookContainer::PreNotify( NotifyEvent& rNEvt ) SetItemSize( nFirstWinId, nHeight ); SetItemSize( nSecondWinId, 100 - nHeight ); } - nHandled = true; + bHandled = true; } else if( pKEvt->GetCharCode() && HandleShortCutKey( *pKEvt ) ) - nHandled = true; + bHandled = true; } } - return nHandled; + return bHandled; } bool BibBookContainer::HandleShortCutKey( const KeyEvent& rKeyEvent ) diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx index a6f731658059..7504e2876bcc 100644 --- a/extensions/source/bibliography/toolbar.cxx +++ b/extensions/source/bibliography/toolbar.cxx @@ -435,7 +435,7 @@ void BibToolBar::SetQueryString(const OUString& aStr) bool BibToolBar::PreNotify( NotifyEvent& rNEvt ) { - bool nResult = true; + bool bResult = true; MouseNotifyEvent nSwitch=rNEvt.GetType(); if(aEdQuery->HasFocus() && nSwitch==MouseNotifyEvent::KEYINPUT) @@ -452,14 +452,14 @@ bool BibToolBar::PreNotify( NotifyEvent& rNEvt ) pPropertyVal[1].Name="QueryField"; pPropertyVal[1].Value <<= aQueryField; SendDispatch(TBC_BT_AUTOFILTER,aPropVal); - return nResult; + return bResult; } } - nResult=ToolBox::PreNotify(rNEvt); + bResult=ToolBox::PreNotify(rNEvt); - return nResult; + return bResult; } IMPL_LINK( BibToolBar, SelHdl, ListBox*, /*pLb*/ ) diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx index 3d1c199a4b07..3018c48ef5b0 100644 --- a/extensions/source/propctrlr/standardcontrol.cxx +++ b/extensions/source/propctrlr/standardcontrol.cxx @@ -999,7 +999,7 @@ namespace pcr bool OMultilineFloatingEdit::PreNotify(NotifyEvent& _rNEvt) { - bool nResult = true; + bool bResult = true; MouseNotifyEvent nSwitch = _rNEvt.GetType(); if (MouseNotifyEvent::KEYINPUT == nSwitch) @@ -1018,12 +1018,12 @@ namespace pcr EndPopupMode(); } else - nResult=FloatingWindow::PreNotify(_rNEvt); + bResult=FloatingWindow::PreNotify(_rNEvt); } else - nResult=FloatingWindow::PreNotify(_rNEvt); + bResult=FloatingWindow::PreNotify(_rNEvt); - return nResult; + return bResult; } @@ -1101,7 +1101,7 @@ namespace pcr bool DropDownEditControl::PreNotify( NotifyEvent& rNEvt ) { - bool nResult = true; + bool bResult = true; if (rNEvt.GetType() == MouseNotifyEvent::KEYINPUT) { @@ -1127,7 +1127,7 @@ namespace pcr || m_nOperationMode == eMultiLineText ) { - nResult = DropDownEditControl_Base::PreNotify( rNEvt ); + bResult = DropDownEditControl_Base::PreNotify( rNEvt ); } else if ( m_nOperationMode == eStringList ) { @@ -1151,9 +1151,9 @@ namespace pcr } } else - nResult = DropDownEditControl_Base::PreNotify(rNEvt); + bResult = DropDownEditControl_Base::PreNotify(rNEvt); - return nResult; + return bResult; } -- cgit