summaryrefslogtreecommitdiff
path: root/basctl
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
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')
-rw-r--r--basctl/source/basicide/basicbox.cxx16
-rw-r--r--basctl/source/basicide/basides1.cxx6
-rw-r--r--basctl/source/basicide/bastypes.cxx6
-rw-r--r--basctl/source/basicide/moduldl2.cxx6
4 files changed, 17 insertions, 17 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 )
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx
index a4215bb10b74..f2b947b8db04 100644
--- a/basctl/source/basicide/basides1.cxx
+++ b/basctl/source/basicide/basides1.cxx
@@ -1110,11 +1110,11 @@ VclPtr<BaseWindow> Shell::FindWindow(
bool Shell::CallBasicErrorHdl( StarBASIC* pBasic )
{
- bool nRet = false;
+ bool bRet = false;
ModulWindow* pModWin = ShowActiveModuleWindow( pBasic );
if ( pModWin )
- nRet = pModWin->BasicErrorHdl( pBasic );
- return nRet;
+ bRet = pModWin->BasicErrorHdl( pBasic );
+ return bRet;
}
long Shell::CallBasicBreakHdl( StarBASIC* pBasic )
diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx
index 4d98fdee68f9..8ed33c36c22c 100644
--- a/basctl/source/basicide/bastypes.cxx
+++ b/basctl/source/basicide/bastypes.cxx
@@ -110,7 +110,7 @@ void BaseWindow::ExecuteGlobal (SfxRequest&)
bool BaseWindow::Notify( NotifyEvent& rNEvt )
{
- bool nDone = false;
+ bool bDone = false;
if ( rNEvt.GetType() == MouseNotifyEvent::KEYINPUT )
{
@@ -127,14 +127,14 @@ bool BaseWindow::Notify( NotifyEvent& rNEvt )
{
if (Shell* pShell = GetShell())
pShell->NextPage( nCode == KEY_PAGEUP );
- nDone = true;
+ bDone = true;
}
}
break;
}
}
- return nDone || Window::Notify( rNEvt );
+ return bDone || Window::Notify( rNEvt );
}
diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx
index a9b8c6957ade..700fde648310 100644
--- a/basctl/source/basicide/moduldl2.cxx
+++ b/basctl/source/basicide/moduldl2.cxx
@@ -711,7 +711,7 @@ IMPL_LINK_TYPED( LibPage, ButtonHdl, Button *, pButton, void )
IMPL_LINK_TYPED( LibPage, CheckPasswordHdl, SvxPasswordDialog *, pDlg, bool )
{
- bool nRet = false;
+ bool bRet = false;
SvTreeListEntry* pCurEntry = m_pLibBox->GetCurEntry();
OUString aLibName( SvTabListBox::GetEntryText( pCurEntry, 0 ) );
@@ -724,14 +724,14 @@ IMPL_LINK_TYPED( LibPage, CheckPasswordHdl, SvxPasswordDialog *, pDlg, bool )
OUString aOldPassword( pDlg->GetOldPassword() );
OUString aNewPassword( pDlg->GetNewPassword() );
xPasswd->changeLibraryPassword( aLibName, aOldPassword, aNewPassword );
- nRet = true;
+ bRet = true;
}
catch (...)
{
}
}
- return nRet;
+ return bRet;
}
void LibPage::NewLib()