summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorStefan Heinemann <stefan.heinemann@codedump.ch>2015-09-25 13:06:09 +0200
committerMichael Stahl <mstahl@redhat.com>2015-09-29 18:33:40 +0000
commitc50eb68af3096645246a77259bb3d1cc70eb6b63 (patch)
treea3f9442fa2d2c13464d1623f8bcf772b27426e72 /formula
parent491c2e24ac110c9ebdb1a483c34ae3d14ab0d615 (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 'formula')
-rw-r--r--formula/source/ui/dlg/formula.cxx8
-rw-r--r--formula/source/ui/dlg/funcpage.cxx4
-rw-r--r--formula/source/ui/dlg/funcutl.cxx12
3 files changed, 12 insertions, 12 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx
index 33c3d97b9101..86f30c77bf42 100644
--- a/formula/source/ui/dlg/formula.cxx
+++ b/formula/source/ui/dlg/formula.cxx
@@ -89,7 +89,7 @@ public:
void fillTree(IStructHelper* _pTree);
void UpdateTokenArray( const OUString& rStrExp);
OUString RepairFormula(const OUString& aFormula);
- void FillDialog(bool nFlag=true);
+ void FillDialog(bool bFlag=true);
bool EditNextFunc( bool bForward, sal_Int32 nFStart=NOT_FOUND );
void EditThisFunc(sal_Int32 nFStart);
@@ -810,13 +810,13 @@ void FormulaDlg_Impl::UpdateTokenArray( const OUString& rStrExp)
aCompiler.CompileTokenArray();
}
-void FormulaDlg_Impl::FillDialog(bool nFlag)
+void FormulaDlg_Impl::FillDialog(bool bFlag)
{
bool bNext=true, bPrev=true;
- if(nFlag)
+ if(bFlag)
FillControls(bNext, bPrev);
FillListboxes();
- if(nFlag)
+ if(bFlag)
{
m_pBtnBackward->Enable(bPrev);
m_pBtnForward->Enable(bNext);
diff --git a/formula/source/ui/dlg/funcpage.cxx b/formula/source/ui/dlg/funcpage.cxx
index 60a7f30cf7ef..539b8f28b5bf 100644
--- a/formula/source/ui/dlg/funcpage.cxx
+++ b/formula/source/ui/dlg/funcpage.cxx
@@ -48,14 +48,14 @@ bool FormulaListBox::PreNotify( NotifyEvent& rNEvt )
{
NotifyEvent aNotifyEvt=rNEvt;
- bool nResult = ListBox::PreNotify(rNEvt);
+ bool bResult = ListBox::PreNotify(rNEvt);
MouseNotifyEvent nSwitch=aNotifyEvt.GetType();
if(nSwitch==MouseNotifyEvent::KEYINPUT)
{
KeyInput(*aNotifyEvt.GetKeyEvent());
}
- return nResult;
+ return bResult;
}
VCL_BUILDER_FACTORY_ARGS(FormulaListBox, WB_BORDER | WB_SORT)
diff --git a/formula/source/ui/dlg/funcutl.cxx b/formula/source/ui/dlg/funcutl.cxx
index 5c7d8ad170da..1091d07f4159 100644
--- a/formula/source/ui/dlg/funcutl.cxx
+++ b/formula/source/ui/dlg/funcutl.cxx
@@ -369,9 +369,9 @@ void EditBox::GetFocus()
//first called and a PostUserEvent is sent.
bool EditBox::PreNotify( NotifyEvent& rNEvt )
{
- bool nResult = true;
+ bool bResult = true;
- if(pMEdit==nullptr) return nResult;
+ if(pMEdit==nullptr) return bResult;
MouseNotifyEvent nSwitch=rNEvt.GetType();
if(nSwitch==MouseNotifyEvent::KEYINPUT)// || nSwitch==MouseNotifyEvent::KEYUP)
@@ -380,18 +380,18 @@ bool EditBox::PreNotify( NotifyEvent& rNEvt )
sal_uInt16 nKey=aKeyCode.GetCode();
if( (nKey==KEY_RETURN && !aKeyCode.IsShift()) || nKey==KEY_TAB )
{
- nResult = GetParent()->Notify(rNEvt);
+ bResult = GetParent()->Notify(rNEvt);
}
else
{
- nResult=Control::PreNotify(rNEvt);
+ bResult=Control::PreNotify(rNEvt);
Application::PostUserEvent( LINK( this, EditBox, ChangedHdl ), NULL, true );
}
}
else
{
- nResult=Control::PreNotify(rNEvt);
+ bResult=Control::PreNotify(rNEvt);
if(nSwitch==MouseNotifyEvent::MOUSEBUTTONDOWN || nSwitch==MouseNotifyEvent::MOUSEBUTTONUP)
{
@@ -399,7 +399,7 @@ bool EditBox::PreNotify( NotifyEvent& rNEvt )
Application::PostUserEvent( LINK( this, EditBox, ChangedHdl ), NULL, true );
}
}
- return nResult;
+ return bResult;
}
//When an Event cleared wurde, this routine is