Kaydet (Commit) 446f9cf1 authored tarafından Eike Rathke's avatar Eike Rathke

SvTreeListBox::DoubleClickHdl: SwContentTree more, tdf#115950 related

Change-Id: I86b5275484754b222698fb8c4540ff66bd6c962a
üst 46855d3a
...@@ -1571,7 +1571,6 @@ IMPL_LINK_NOARG(SwContentTree, ContentDoubleClickHdl, SvTreeListBox*, bool) ...@@ -1571,7 +1571,6 @@ IMPL_LINK_NOARG(SwContentTree, ContentDoubleClickHdl, SvTreeListBox*, bool)
if(lcl_IsContentType(pEntry) && !pEntry->HasChildren()) if(lcl_IsContentType(pEntry) && !pEntry->HasChildren())
{ {
RequestingChildren(pEntry); RequestingChildren(pEntry);
return true; // signal more to be done, i.e. expand children
} }
else if (!lcl_IsContentType(pEntry) && (State::HIDDEN != m_eState)) else if (!lcl_IsContentType(pEntry) && (State::HIDDEN != m_eState))
{ {
...@@ -1586,7 +1585,9 @@ IMPL_LINK_NOARG(SwContentTree, ContentDoubleClickHdl, SvTreeListBox*, bool) ...@@ -1586,7 +1585,9 @@ IMPL_LINK_NOARG(SwContentTree, ContentDoubleClickHdl, SvTreeListBox*, bool)
GotoContent(pCnt); GotoContent(pCnt);
if(pCnt->GetParent()->GetType() == ContentTypeId::FRAME) if(pCnt->GetParent()->GetType() == ContentTypeId::FRAME)
m_pActiveShell->EnterStdMode(); m_pActiveShell->EnterStdMode();
return false; // treelist processing finished
} }
return true; // signal more to be done, i.e. expand/collapse children
} }
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment