diff options
Diffstat (limited to 'sfx2/source/dialog/templdlg.cxx')
-rw-r--r-- | sfx2/source/dialog/templdlg.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx index 992f1be9f162..db43463e2798 100644 --- a/sfx2/source/dialog/templdlg.cxx +++ b/sfx2/source/dialog/templdlg.cxx @@ -291,7 +291,7 @@ IMPL_LINK_NOARG_TYPED(DropListBox_Impl, OnAsyncExecuteDrop, void*, void) bool DropListBox_Impl::Notify( NotifyEvent& rNEvt ) { - bool nRet = false; + bool bRet = false; if( rNEvt.GetType() == MouseNotifyEvent::KEYINPUT ) { const vcl::KeyCode& rKeyCode = rNEvt.GetKeyEvent()->GetKeyCode(); @@ -300,18 +300,18 @@ bool DropListBox_Impl::Notify( NotifyEvent& rNEvt ) if( pDialog->bCanDel && KEY_DELETE == rKeyCode.GetCode()) { pDialog->DeleteHdl( NULL ); - nRet = true; + bRet = true; } else if( KEY_RETURN == rKeyCode.GetCode()) { GetDoubleClickHdl().Call(this); - nRet = true; + bRet = true; } } } - if(!nRet) - nRet = SvTreeListBox::Notify( rNEvt ); - return nRet; + if(!bRet) + bRet = SvTreeListBox::Notify( rNEvt ); + return bRet; } /** ListBox class that starts a PopupMenu (designer specific) in the @@ -447,21 +447,21 @@ bool StyleTreeListBox_Impl::Notify( NotifyEvent& rNEvt ) { // handle <RETURN> as double click - bool nRet = false; + bool bRet = false; if ( rNEvt.GetType() == MouseNotifyEvent::KEYINPUT ) { const vcl::KeyCode& rKeyCode = rNEvt.GetKeyEvent()->GetKeyCode(); if ( !rKeyCode.GetModifier() && KEY_RETURN == rKeyCode.GetCode() ) { aDoubleClickLink.Call( nullptr ); - nRet = true; + bRet = true; } } - if ( !nRet ) - nRet = DropListBox_Impl::Notify( rNEvt ); + if ( !bRet ) + bRet = DropListBox_Impl::Notify( rNEvt ); - return nRet; + return bRet; } /** NotifyMoving Handler; This leads via a link on the event to the dialog. |