summaryrefslogtreecommitdiff
path: root/cui
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 /cui
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 'cui')
-rw-r--r--cui/source/customize/macropg.cxx4
-rw-r--r--cui/source/dialogs/hangulhanjadlg.cxx16
-rw-r--r--cui/source/inc/numfmt.hxx2
-rw-r--r--cui/source/tabpages/autocdlg.cxx10
-rw-r--r--cui/source/tabpages/numfmt.cxx6
5 files changed, 19 insertions, 19 deletions
diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx
index 246d5d5706ac..af78386a551b 100644
--- a/cui/source/customize/macropg.cxx
+++ b/cui/source/customize/macropg.cxx
@@ -116,7 +116,7 @@ IMPL_LINK_TYPED( MacroEventListBox, HeaderEndDrag_Impl, HeaderBar*, pBar, void )
bool MacroEventListBox::Notify( NotifyEvent& rNEvt )
{
- bool nRet = Control::Notify( rNEvt );
+ bool bRet = Control::Notify( rNEvt );
if( rNEvt.GetType() == MouseNotifyEvent::GETFOCUS )
{
@@ -125,7 +125,7 @@ bool MacroEventListBox::Notify( NotifyEvent& rNEvt )
maListBox->GrabFocus();
}
- return nRet;
+ return bRet;
}
MacroEventListBox::MacroEventListBox( vcl::Window* pParent, WinBits nStyle )
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx
index 0ef8e1fd24eb..727042d530fb 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -1411,7 +1411,7 @@ namespace svx
bool SuggestionEdit::PreNotify( NotifyEvent& rNEvt )
{
- bool nHandled = false;
+ bool bHandled = false;
if( rNEvt.GetType() == MouseNotifyEvent::KEYINPUT )
{
const KeyEvent* pKEvt = rNEvt.GetKeyEvent();
@@ -1426,7 +1426,7 @@ namespace svx
DoJump( bUp );
SetSelection( Selection( 0, SELECTION_MAX ) );
// Tab-travel doesn't really happen, so emulate it by setting a selection manually
- nHandled = true;
+ bHandled = true;
}
}
else if( KEY_UP == nCode || KEY_DOWN == nCode )
@@ -1435,27 +1435,27 @@ namespace svx
if( ShouldScroll( bUp ) )
{
DoJump( bUp );
- nHandled = true;
+ bHandled = true;
}
else if( bUp )
{
if( m_pPrev )
{
m_pPrev->GrabFocus();
- nHandled = true;
+ bHandled = true;
}
}
else if( m_pNext )
{
m_pNext->GrabFocus();
- nHandled = true;
+ bHandled = true;
}
}
}
- if( !nHandled )
- nHandled = Edit::PreNotify( rNEvt );
- return nHandled;
+ if( !bHandled )
+ bHandled = Edit::PreNotify( rNEvt );
+ return bHandled;
}
void SuggestionEdit::init( ScrollBar* pScrollBar, SuggestionEdit* pPrev, SuggestionEdit* pNext)
diff --git a/cui/source/inc/numfmt.hxx b/cui/source/inc/numfmt.hxx
index f004a7633a66..401d399a3a97 100644
--- a/cui/source/inc/numfmt.hxx
+++ b/cui/source/inc/numfmt.hxx
@@ -87,7 +87,7 @@ public:
{ SetInfoItem( rItem ); }
void SetOkHdl( const Link<SfxPoolItem*,void>& rOkHandler );
- void HideLanguage(bool nFlag=true);
+ void HideLanguage(bool bFlag=true);
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
virtual void PageCreated(const SfxAllItemSet& aSet) SAL_OVERRIDE;
private:
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index b4374e7808dd..25ab173d60f8 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -2445,28 +2445,28 @@ void OfaAutoCompleteTabPage::AutoCompleteMultiListBox::dispose()
bool OfaAutoCompleteTabPage::AutoCompleteMultiListBox::PreNotify(
NotifyEvent& rNEvt )
{
- bool nHandled = MultiListBox::PreNotify( rNEvt );
+ bool bHandled = MultiListBox::PreNotify( rNEvt );
- if( !nHandled && MouseNotifyEvent::KEYUP == rNEvt.GetType() )
+ if( !bHandled && MouseNotifyEvent::KEYUP == rNEvt.GetType() )
{
const vcl::KeyCode& rKeyCode = rNEvt.GetKeyEvent()->GetKeyCode();
switch( rKeyCode.GetModifier() | rKeyCode.GetCode() )
{
case KEY_DELETE:
m_pPage->DeleteHdl( 0 );
- nHandled = true;
+ bHandled = true;
break;
default:
if( KeyFuncType::COPY == rKeyCode.GetFunction() )
{
m_pPage->CopyToClipboard();
- nHandled = true;
+ bHandled = true;
}
break;
}
}
- return nHandled;
+ return bHandled;
}
VCL_BUILDER_DECL_FACTORY(AutoCompleteMultiListBox)
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 113ccae31a31..89abd94bfcc6 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -694,10 +694,10 @@ void SvxNumberFormatTabPage::EnableBySourceFormat_Impl()
#*
#************************************************************************/
-void SvxNumberFormatTabPage::HideLanguage(bool nFlag)
+void SvxNumberFormatTabPage::HideLanguage(bool bFlag)
{
- m_pFtLanguage->Show(!nFlag);
- m_pLbLanguage->Show(!nFlag);
+ m_pFtLanguage->Show(!bFlag);
+ m_pLbLanguage->Show(!bFlag);
}
/*************************************************************************