summaryrefslogtreecommitdiff
path: root/vcl/source/control/spinfld.cxx
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 /vcl/source/control/spinfld.cxx
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 'vcl/source/control/spinfld.cxx')
-rw-r--r--vcl/source/control/spinfld.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx
index e7058f88970e..52dcdd0f4082 100644
--- a/vcl/source/control/spinfld.cxx
+++ b/vcl/source/control/spinfld.cxx
@@ -515,7 +515,7 @@ void SpinField::MouseMove(const MouseEvent& rMEvt)
bool SpinField::Notify(NotifyEvent& rNEvt)
{
- bool nDone = false;
+ bool bDone = false;
if (rNEvt.GetType() == MouseNotifyEvent::KEYINPUT)
{
const KeyEvent& rKEvt = *rNEvt.GetKeyEvent();
@@ -529,7 +529,7 @@ bool SpinField::Notify(NotifyEvent& rNEvt)
if (!nMod)
{
Up();
- nDone = true;
+ bDone = true;
}
}
break;
@@ -538,13 +538,13 @@ bool SpinField::Notify(NotifyEvent& rNEvt)
if (!nMod)
{
Down();
- nDone = true;
+ bDone = true;
}
else if ((nMod == KEY_MOD2) && !mbInDropDown && (GetStyle() & WB_DROPDOWN))
{
mbInDropDown = ShowDropDown(true);
Invalidate(Rectangle(Point(), GetOutputSizePixel()));
- nDone = true;
+ bDone = true;
}
}
break;
@@ -553,7 +553,7 @@ bool SpinField::Notify(NotifyEvent& rNEvt)
if (!nMod)
{
Last();
- nDone = true;
+ bDone = true;
}
}
break;
@@ -562,7 +562,7 @@ bool SpinField::Notify(NotifyEvent& rNEvt)
if (!nMod)
{
First();
- nDone = true;
+ bDone = true;
}
}
break;
@@ -585,15 +585,15 @@ bool SpinField::Notify(NotifyEvent& rNEvt)
Down();
else
Up();
- nDone = true;
+ bDone = true;
}
}
else
- nDone = false; // don't eat this event, let the default handling happen (i.e. scroll the context)
+ bDone = false; // don't eat this event, let the default handling happen (i.e. scroll the context)
}
}
- return nDone || Edit::Notify(rNEvt);
+ return bDone || Edit::Notify(rNEvt);
}
void SpinField::Command(const CommandEvent& rCEvt)