summaryrefslogtreecommitdiff
path: root/svx/source/dialog/rubydialog.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 /svx/source/dialog/rubydialog.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 'svx/source/dialog/rubydialog.cxx')
-rw-r--r--svx/source/dialog/rubydialog.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx
index a79dafb6feb6..563ae7dfba3e 100644
--- a/svx/source/dialog/rubydialog.cxx
+++ b/svx/source/dialog/rubydialog.cxx
@@ -688,7 +688,7 @@ IMPL_LINK(SvxRubyDialog, EditModifyHdl_Impl, Edit*, pEdit)
IMPL_LINK_TYPED(SvxRubyDialog, EditScrollHdl_Impl, sal_Int32, nParam, bool)
{
- bool nRet = false;
+ bool bRet = false;
if (m_pScrollSB->IsEnabled())
{
//scroll forward
@@ -698,7 +698,7 @@ IMPL_LINK_TYPED(SvxRubyDialog, EditScrollHdl_Impl, sal_Int32, nParam, bool)
{
m_pScrollSB->SetThumbPos(m_pScrollSB->GetThumbPos() + 1);
aEditArr[6]->GrabFocus();
- nRet = true;
+ bRet = true;
}
}
//scroll backward
@@ -706,12 +706,12 @@ IMPL_LINK_TYPED(SvxRubyDialog, EditScrollHdl_Impl, sal_Int32, nParam, bool)
{
m_pScrollSB->SetThumbPos(m_pScrollSB->GetThumbPos() - 1);
aEditArr[1]->GrabFocus();
- nRet = true;
+ bRet = true;
}
- if (nRet)
+ if (bRet)
ScrollHdl_Impl(m_pScrollSB);
}
- return nRet;
+ return bRet;
}
IMPL_LINK_TYPED(SvxRubyDialog, EditJumpHdl_Impl, sal_Int32, nParam, void)
@@ -932,7 +932,7 @@ void RubyEdit::GetFocus()
bool RubyEdit::PreNotify(NotifyEvent& rNEvt)
{
- bool nHandled = false;
+ bool bHandled = false;
if (rNEvt.GetType() == MouseNotifyEvent::KEYINPUT)
{
const KeyEvent* pKEvt = rNEvt.GetKeyEvent();
@@ -943,7 +943,7 @@ bool RubyEdit::PreNotify(NotifyEvent& rNEvt)
{
sal_Int32 nParam = KEY_SHIFT == nMod ? -1 : 1;
if(aScrollHdl.IsSet() && aScrollHdl.Call(nParam))
- nHandled = true;
+ bHandled = true;
}
else if (KEY_UP == nCode || KEY_DOWN == nCode)
{
@@ -951,9 +951,9 @@ bool RubyEdit::PreNotify(NotifyEvent& rNEvt)
aJumpHdl.Call(nParam);
}
}
- if (!nHandled)
- nHandled = Edit::PreNotify(rNEvt);
- return nHandled;
+ if (!bHandled)
+ bHandled = Edit::PreNotify(rNEvt);
+ return bHandled;
}
VCL_BUILDER_FACTORY(RubyEdit)