summaryrefslogtreecommitdiff
path: root/vcl/source/edit/vclmedit.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/edit/vclmedit.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/edit/vclmedit.cxx')
-rw-r--r--vcl/source/edit/vclmedit.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx
index 127ce91a0d79..d2fc593594dd 100644
--- a/vcl/source/edit/vclmedit.cxx
+++ b/vcl/source/edit/vclmedit.cxx
@@ -1439,24 +1439,24 @@ void VclMultiLineEdit::Draw( OutputDevice* pDev, const Point& rPos, const Size&
bool VclMultiLineEdit::Notify( NotifyEvent& rNEvt )
{
- bool nDone = false;
+ bool bDone = false;
if( rNEvt.GetType() == MouseNotifyEvent::COMMAND )
{
- nDone = pImpVclMEdit->HandleCommand( *rNEvt.GetCommandEvent() );
+ bDone = pImpVclMEdit->HandleCommand( *rNEvt.GetCommandEvent() );
}
- return nDone || Edit::Notify( rNEvt );
+ return bDone || Edit::Notify( rNEvt );
}
bool VclMultiLineEdit::PreNotify( NotifyEvent& rNEvt )
{
- bool nDone = false;
+ bool bDone = false;
if( ( rNEvt.GetType() == MouseNotifyEvent::KEYINPUT ) && ( !GetTextView()->IsCursorEnabled() ) )
{
const KeyEvent& rKEvent = *rNEvt.GetKeyEvent();
if ( !rKEvent.GetKeyCode().IsShift() && ( rKEvent.GetKeyCode().GetGroup() == KEYGROUP_CURSOR ) )
{
- nDone = true;
+ bDone = true;
TextSelection aSel = pImpVclMEdit->GetTextWindow()->GetTextView()->GetSelection();
if ( aSel.HasRange() )
{
@@ -1519,14 +1519,14 @@ bool VclMultiLineEdit::PreNotify( NotifyEvent& rNEvt )
break;
default:
{
- nDone = false;
+ bDone = false;
}
}
}
}
}
- return nDone || Edit::PreNotify( rNEvt );
+ return bDone || Edit::PreNotify( rNEvt );
}
// Internals for derived classes, e.g. TextComponent