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 /extensions/source | |
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 'extensions/source')
-rw-r--r-- | extensions/source/bibliography/bibcont.cxx | 8 | ||||
-rw-r--r-- | extensions/source/bibliography/toolbar.cxx | 8 | ||||
-rw-r--r-- | extensions/source/propctrlr/standardcontrol.cxx | 16 |
3 files changed, 16 insertions, 16 deletions
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; } |