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 /svtools | |
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 'svtools')
-rw-r--r-- | svtools/source/contnr/simptabl.cxx | 8 | ||||
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 4 | ||||
-rw-r--r-- | svtools/source/control/fileurlbox.cxx | 4 | ||||
-rw-r--r-- | svtools/source/control/tabbar.cxx | 4 | ||||
-rw-r--r-- | svtools/source/control/urlcontrol.cxx | 4 | ||||
-rw-r--r-- | svtools/source/dialogs/roadmapwizard.cxx | 4 | ||||
-rw-r--r-- | svtools/source/table/tabledatawindow.cxx | 6 |
7 files changed, 17 insertions, 17 deletions
diff --git a/svtools/source/contnr/simptabl.cxx b/svtools/source/contnr/simptabl.cxx index de1c3acde1a3..3b356140bffa 100644 --- a/svtools/source/contnr/simptabl.cxx +++ b/svtools/source/contnr/simptabl.cxx @@ -52,7 +52,7 @@ void SvSimpleTableContainer::SetTable(SvSimpleTable* pTable) bool SvSimpleTableContainer::PreNotify( NotifyEvent& rNEvt ) { - bool nResult = true; + bool bResult = true; if ( rNEvt.GetType() == MouseNotifyEvent::KEYINPUT ) { const vcl::KeyCode& aKeyCode = rNEvt.GetKeyEvent()->GetKeyCode(); @@ -62,12 +62,12 @@ bool SvSimpleTableContainer::PreNotify( NotifyEvent& rNEvt ) else if (m_pTable && m_pTable->IsFocusOnCellEnabled() && ( nKey == KEY_LEFT || nKey == KEY_RIGHT)) return false; else - nResult = Control::PreNotify( rNEvt ); + bResult = Control::PreNotify( rNEvt ); } else - nResult = Control::PreNotify( rNEvt ); + bResult = Control::PreNotify( rNEvt ); - return nResult; + return bResult; } void SvSimpleTableContainer::Resize() diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index fe3a390e61d3..4568f4a49b05 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -366,10 +366,10 @@ long BorderWidthImpl::GetGap( long nWidth ) const return result; } -static double lcl_getGuessedWidth( long nTested, double nRate, bool nChanging ) +static double lcl_getGuessedWidth( long nTested, double nRate, bool bChanging ) { double nWidth = -1.0; - if ( nChanging ) + if ( bChanging ) nWidth = double( nTested ) / nRate; else { diff --git a/svtools/source/control/fileurlbox.cxx b/svtools/source/control/fileurlbox.cxx index 68e046af6397..8868747254d9 100644 --- a/svtools/source/control/fileurlbox.cxx +++ b/svtools/source/control/fileurlbox.cxx @@ -85,9 +85,9 @@ namespace svt && ( IsInDropDown() ) ) { - bool nReturn = SvtURLBox::Notify(_rNEvt); + bool bReturn = SvtURLBox::Notify(_rNEvt); DisplayURL( m_sPreservedText ); - return nReturn; + return bReturn; } } diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx index 1a9cceeb732e..54fdafcde3df 100644 --- a/svtools/source/control/tabbar.cxx +++ b/svtools/source/control/tabbar.cxx @@ -1587,11 +1587,11 @@ void TabBar::ActivatePage() bool TabBar::ImplDeactivatePage() { - bool nRet = DeactivatePage(); + bool bRet = DeactivatePage(); CallEventListeners(VCLEVENT_TABBAR_PAGEDEACTIVATED, reinterpret_cast<void*>(sal::static_int_cast<sal_IntPtr>(mnCurPageId))); - return nRet; + return bRet; } void TabBar::ImplPrePaint(vcl::RenderContext& /*rRenderContext*/) diff --git a/svtools/source/control/urlcontrol.cxx b/svtools/source/control/urlcontrol.cxx index 00864126fe0c..9a5334fa3ed4 100644 --- a/svtools/source/control/urlcontrol.cxx +++ b/svtools/source/control/urlcontrol.cxx @@ -59,7 +59,7 @@ namespace svt if (KEY_RETURN == _rNEvt.GetKeyEvent()->GetKeyCode().GetCode()) if (IsInDropDown()) { - bool nReturn = SvtURLBox::Notify(_rNEvt); + bool bReturn = SvtURLBox::Notify(_rNEvt); // build a system dependent (thus more user readable) file name OFileNotation aTransformer(m_sPreservedText, OFileNotation::N_URL); @@ -69,7 +69,7 @@ namespace svt // Update the pick list UpdatePickList(); - return nReturn; + return bReturn; } return SvtURLBox::Notify(_rNEvt); diff --git a/svtools/source/dialogs/roadmapwizard.cxx b/svtools/source/dialogs/roadmapwizard.cxx index 7354978b64fa..5993e2bad133 100644 --- a/svtools/source/dialogs/roadmapwizard.cxx +++ b/svtools/source/dialogs/roadmapwizard.cxx @@ -361,8 +361,8 @@ namespace svt // allow advancing, the disable the state. This relieves derived classes // from disabling all future states just because the current state does not // (yet) allow advancing. - const bool nUnconditionedDisable = !bCurrentPageCanAdvance && ( nItemIndex > nCurrentStatePathIndex ); - const bool bEnable = !nUnconditionedDisable && ( m_pImpl->aDisabledStates.find( nState ) == m_pImpl->aDisabledStates.end() ); + const bool bUnconditionedDisable = !bCurrentPageCanAdvance && ( nItemIndex > nCurrentStatePathIndex ); + const bool bEnable = !bUnconditionedDisable && ( m_pImpl->aDisabledStates.find( nState ) == m_pImpl->aDisabledStates.end() ); m_pImpl->pRoadmap->EnableRoadmapItem( m_pImpl->pRoadmap->GetItemID( nItemIndex ), bEnable ); } diff --git a/svtools/source/table/tabledatawindow.cxx b/svtools/source/table/tabledatawindow.cxx index 49fc1605e6a8..37997eb31cdb 100644 --- a/svtools/source/table/tabledatawindow.cxx +++ b/svtools/source/table/tabledatawindow.cxx @@ -194,7 +194,7 @@ namespace svt { namespace table bool TableDataWindow::Notify(NotifyEvent& rNEvt ) { - bool nDone = false; + bool bDone = false; if ( rNEvt.GetType() == MouseNotifyEvent::COMMAND ) { const CommandEvent& rCEvt = *rNEvt.GetCommandEvent(); @@ -203,11 +203,11 @@ namespace svt { namespace table const CommandWheelData* pData = rCEvt.GetWheelData(); if( !pData->GetModifier() && ( pData->GetMode() == CommandWheelMode::SCROLL ) ) { - nDone = HandleScrollCommand( rCEvt, m_rTableControl.getHorzScrollbar(), m_rTableControl.getVertScrollbar() ); + bDone = HandleScrollCommand( rCEvt, m_rTableControl.getHorzScrollbar(), m_rTableControl.getVertScrollbar() ); } } } - return nDone || Window::Notify( rNEvt ); + return bDone || Window::Notify( rNEvt ); } }} // namespace svt::table |