summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/templdlg.cxx
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2011-03-01 16:38:20 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-01 16:38:20 +0100
commit846ab4ee7451ac853c752908660605871c795783 (patch)
treea77c740c34695fae3dfe78cb5db15dfa594bb615 /sfx2/source/dialog/templdlg.cxx
parentb479885f3ec5d5b704404c7c30aebb131bbdd7dc (diff)
Remove Dead Code
Diffstat (limited to 'sfx2/source/dialog/templdlg.cxx')
-rw-r--r--sfx2/source/dialog/templdlg.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 071a20fbf0c3..52236c187f1f 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -261,9 +261,6 @@ sal_Int8 DropListBox_Impl::AcceptDrop( const AcceptDropEvent& rEvt )
sal_Int8 DropListBox_Impl::ExecuteDrop( const ExecuteDropEvent& rEvt )
{
-// rEvt.maDropEvent.Context->acceptDrop( DND_ACTION_NONE );
-// rEvt.maDropEvent.Context->dropComplete( TRUE );
-
sal_Int8 nRet = DND_ACTION_NONE;
SfxObjectShell* pDocShell = pDialog->GetObjectShell();
TransferableDataHelper aHelper( rEvt.maDropEvent.Transferable );
@@ -1195,8 +1192,7 @@ void SfxCommonTemplateDialog_Impl::FillTreeBox()
const USHORT nCount = aArr.Count();
for(USHORT i = 0; i < nCount; ++i)
FillBox_Impl(pTreeBox, aArr[i], aEntries);
-
-// EnableEdit(FALSE);
+;
EnableItem(SID_STYLE_WATERCAN,FALSE);
SfxTemplateItem* pState = pFamilyState[nActFamily-1];
@@ -1371,7 +1367,6 @@ void SfxCommonTemplateDialog_Impl::UpdateStyles_Impl(USHORT nFlags)
// Aktualisierung Anzeige: Gie\skanne an/aus
void SfxCommonTemplateDialog_Impl::SetWaterCanState(const SfxBoolItem *pItem)
{
-// EnableItem(SID_STYLE_WATERCAN, pItem != 0);
bWaterDisabled = pItem == 0;
if(!bWaterDisabled)
@@ -1766,7 +1761,6 @@ IMPL_LINK( SfxCommonTemplateDialog_Impl, FilterSelectHdl, ListBox *, pBox )
bHierarchical=TRUE;
const String aSelectEntry( GetSelectedEntry());
aFmtLb.Hide();
- // aFilterLb.Disable();
pTreeBox = new StyleTreeListBox_Impl(
this, WB_HASBUTTONS | WB_HASLINES |