improve indentation
Change-Id: I1ca7f386cbd85d64e86fe293b2a4a4cbb205edef
This commit is contained in:
parent
5c3ea5d9aa
commit
e53168c687
@ -184,26 +184,26 @@ bool ODesignView::PreNotify( NotifyEvent& rNEvt )
|
||||
switch(rNEvt.GetType())
|
||||
{
|
||||
case MouseNotifyEvent::KEYINPUT:
|
||||
if ( (m_pPropWin && m_pPropWin->HasChildPathFocus()) )
|
||||
{
|
||||
if ( m_pPropWin && m_pPropWin->HasChildPathFocus() )
|
||||
return false;
|
||||
if ( (m_pAddField && m_pAddField->HasChildPathFocus()) )
|
||||
if ( m_pAddField && m_pAddField->HasChildPathFocus() )
|
||||
return false;
|
||||
if ( (m_pReportExplorer && m_pReportExplorer->HasChildPathFocus()) )
|
||||
if ( m_pReportExplorer && m_pReportExplorer->HasChildPathFocus() )
|
||||
return false;
|
||||
const KeyEvent* pKeyEvent = rNEvt.GetKeyEvent();
|
||||
if ( handleKeyEvent(*pKeyEvent) )
|
||||
bRet = true;
|
||||
else if ( bRet && m_pAccel.get() )
|
||||
{
|
||||
const KeyEvent* pKeyEvent = rNEvt.GetKeyEvent();
|
||||
if ( handleKeyEvent(*pKeyEvent) )
|
||||
bRet = true;
|
||||
else if ( bRet && m_pAccel.get() )
|
||||
{
|
||||
const vcl::KeyCode& rCode = pKeyEvent->GetKeyCode();
|
||||
util::URL aUrl;
|
||||
aUrl.Complete = m_pAccel->findCommand(svt::AcceleratorExecute::st_VCLKey2AWTKey(rCode));
|
||||
if ( aUrl.Complete.isEmpty() || !m_xController->isCommandEnabled( aUrl.Complete ) )
|
||||
bRet = false;
|
||||
}
|
||||
const vcl::KeyCode& rCode = pKeyEvent->GetKeyCode();
|
||||
util::URL aUrl;
|
||||
aUrl.Complete = m_pAccel->findCommand(svt::AcceleratorExecute::st_VCLKey2AWTKey(rCode));
|
||||
if ( aUrl.Complete.isEmpty() || !m_xController->isCommandEnabled( aUrl.Complete ) )
|
||||
bRet = false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user