summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/basicbox.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 /basctl/source/basicide/basicbox.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 'basctl/source/basicide/basicbox.cxx')
-rw-r--r--basctl/source/basicide/basicbox.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/basctl/source/basicide/basicbox.cxx b/basctl/source/basicide/basicbox.cxx
index 8801498bf7d0..f4922b5b5661 100644
--- a/basctl/source/basicide/basicbox.cxx
+++ b/basctl/source/basicide/basicbox.cxx
@@ -249,7 +249,7 @@ void LibBox::InsertEntries( const ScriptDocument& rDocument, LibraryLocation eLo
bool LibBox::PreNotify( NotifyEvent& rNEvt )
{
- bool nDone = false;
+ bool bDone = false;
if( rNEvt.GetType() == MouseNotifyEvent::KEYINPUT )
{
KeyEvent aKeyEvt = *rNEvt.GetKeyEvent();
@@ -259,7 +259,7 @@ bool LibBox::PreNotify( NotifyEvent& rNEvt )
case KEY_RETURN:
{
NotifyIDE();
- nDone = true;
+ bDone = true;
}
break;
@@ -267,7 +267,7 @@ bool LibBox::PreNotify( NotifyEvent& rNEvt )
{
SelectEntry( aCurText );
ReleaseFocus();
- nDone = true;
+ bDone = true;
}
break;
}
@@ -289,7 +289,7 @@ bool LibBox::PreNotify( NotifyEvent& rNEvt )
}
}
- return nDone || ListBox::PreNotify( rNEvt );
+ return bDone || ListBox::PreNotify( rNEvt );
}
void LibBox::Select()
@@ -469,7 +469,7 @@ void LanguageBox::Select()
bool LanguageBox::PreNotify( NotifyEvent& rNEvt )
{
- bool nDone = false;
+ bool bDone = false;
if( rNEvt.GetType() == MouseNotifyEvent::KEYINPUT )
{
sal_uInt16 nKeyCode = rNEvt.GetKeyEvent()->GetKeyCode().GetCode();
@@ -478,14 +478,14 @@ bool LanguageBox::PreNotify( NotifyEvent& rNEvt )
case KEY_RETURN:
{
SetLanguage();
- nDone = true;
+ bDone = true;
}
break;
case KEY_ESCAPE:
{
SelectEntry( m_sCurrentText );
- nDone = true;
+ bDone = true;
}
break;
}
@@ -497,7 +497,7 @@ bool LanguageBox::PreNotify( NotifyEvent& rNEvt )
{
}
- return nDone || ListBox::PreNotify( rNEvt );
+ return bDone || ListBox::PreNotify( rNEvt );
}
void LanguageBox::Update( const SfxStringItem* pItem )