diff options
author | Robert Roth <robert.roth.off@gmail.com> | 2010-11-08 13:01:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-08 13:01:17 +0000 |
commit | 6bc85586fd57b45d281e12e42e4d6198ff957125 (patch) | |
tree | 787de1f80199f62bddc722660b93280f37780b5e /sw/source/ui/utlui/glbltree.cxx | |
parent | a3eaf5d08b5a0a0a2caa2df0f0f44e7235dc6f7e (diff) |
Some more bogus comments, commented code removed
Diffstat (limited to 'sw/source/ui/utlui/glbltree.cxx')
-rw-r--r-- | sw/source/ui/utlui/glbltree.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sw/source/ui/utlui/glbltree.cxx b/sw/source/ui/utlui/glbltree.cxx index cf6e2b542b25..d65bf0b0d227 100644 --- a/sw/source/ui/utlui/glbltree.cxx +++ b/sw/source/ui/utlui/glbltree.cxx @@ -78,8 +78,6 @@ using ::rtl::OUString; // Kontextmenue fuer GlobalTree #define CTX_INSERT_ANY_INDEX 10 -//#define CTX_INSERT_CNTIDX 11 -//#define CTX_INSERT_USRIDX 12 #define CTX_INSERT_FILE 11 #define CTX_INSERT_NEW_FILE 12 #define CTX_INSERT_TEXT 13 @@ -413,8 +411,6 @@ void SwGlobalTree::TbxMenuHdl(USHORT nTbxId, ToolBox* pBox) pMenu->SetHelpId(i, aHelpForMenu[i] ); } pMenu->EnableItem(CTX_INSERT_ANY_INDEX, 0 != (nEnableFlags & ENABLE_INSERT_IDX )); -// pMenu->EnableItem(CTX_INSERT_CNTIDX, 0 != (nEnableFlags & ENABLE_INSERT_IDX )); -// pMenu->EnableItem(CTX_INSERT_USRIDX, 0 != (nEnableFlags & ENABLE_INSERT_IDX )); pMenu->EnableItem(CTX_INSERT_TEXT, 0 != (nEnableFlags & ENABLE_INSERT_TEXT)); pMenu->EnableItem(CTX_INSERT_FILE, 0 != (nEnableFlags & ENABLE_INSERT_FILE)); pMenu->EnableItem(CTX_INSERT_NEW_FILE, 0 != (nEnableFlags & ENABLE_INSERT_FILE)); @@ -792,9 +788,7 @@ IMPL_LINK( SwGlobalTree, PopupHdl, Menu* , pMenu) } void SwGlobalTree::ExcecuteContextMenuAction( USHORT nSelectedPopupEntry ) -//IMPL_LINK( SwGlobalTree, PopupHdl, Menu* , pMenu) { -// USHORT nId = pMenu->GetCurItemId(); SvLBoxEntry* pEntry = FirstSelected(); SwGlblDocContent* pCont = pEntry ? (SwGlblDocContent*)pEntry->GetUserData() : 0; // wird waehrend des Dialogs ein RequestHelp gerufen, @@ -889,8 +883,6 @@ void SwGlobalTree::ExcecuteContextMenuAction( USHORT nSelectedPopupEntry ) } break; case CTX_INSERT_ANY_INDEX: -// case CTX_INSERT_CNTIDX: -// case CTX_INSERT_USRIDX: { if(pContCopy) { @@ -1024,7 +1016,6 @@ void SwGlobalTree::ExcecuteContextMenuAction( USHORT nSelectedPopupEntry ) delete pContCopy; else bDeleteContentCopy = true; -// return TRUE; } IMPL_LINK( SwGlobalTree, Timeout, Timer*, EMPTYARG ) |