summaryrefslogtreecommitdiff
path: root/sw/source/ui/frmdlg/frmdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/frmdlg/frmdlg.cxx')
-rw-r--r--sw/source/ui/frmdlg/frmdlg.cxx18
1 files changed, 4 insertions, 14 deletions
diff --git a/sw/source/ui/frmdlg/frmdlg.cxx b/sw/source/ui/frmdlg/frmdlg.cxx
index 30c411cfb19a..3dab469a0cc1 100644
--- a/sw/source/ui/frmdlg/frmdlg.cxx
+++ b/sw/source/ui/frmdlg/frmdlg.cxx
@@ -100,10 +100,10 @@ SwFrameDlg::SwFrameDlg( SfxViewFrame* pViewFrame,
SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "Dialog creation failed!");
- //UUUU remove?
+ // remove?
// m_nBackgroundId = AddTabPage("background", pFact->GetTabPageCreatorFunc( RID_SVXPAGE_BACKGROUND ), 0);
- //UUUU add Area and Transparence TabPages
+ // add Area and Transparence TabPages
m_nAreaId = AddTabPage("area", pFact->GetTabPageCreatorFunc( RID_SVXPAGE_AREA ), pFact->GetTabPageRangesFunc( RID_SVXPAGE_AREA ));
m_nTransparenceId = AddTabPage("transparence", pFact->GetTabPageCreatorFunc( RID_SVXPAGE_TRANSPARENCE ), pFact->GetTabPageRangesFunc( RID_SVXPAGE_TRANSPARENCE ) );
@@ -123,7 +123,7 @@ SwFrameDlg::SwFrameDlg( SfxViewFrame* pViewFrame,
RemoveTabPage("crop");
if( m_sDlgType != "FrameDialog" )
{
- //UUUU RemoveTabPage("background");
+ // RemoveTabPage("background");
RemoveTabPage("area");
RemoveTabPage("transparence");
}
@@ -180,22 +180,12 @@ void SwFrameDlg::PageCreated( sal_uInt16 nId, SfxTabPage &rPage )
rPage.SetFrame( m_pWrtShell->GetView().GetViewFrame()->GetFrame().GetFrameInterface() );
rPage.PageCreated(aNewSet);
}
- //UUUU
- //else if (nId == m_nBackgroundId && m_sDlgType == "FrameDialog")
- //{
- // sal_Int32 nFlagType = SVX_SHOW_SELECTOR;
- // if (!m_bHTMLMode)
- // nFlagType |= SVX_ENABLE_TRANSPARENCY;
- // aSet.Put (SfxUInt32Item(SID_FLAG_TYPE, nFlagType));
- //
- // rPage.PageCreated(aSet);
- //}
else if (nId == m_nBorderId)
{
aSet.Put (SfxUInt16Item(SID_SWMODE_TYPE,static_cast<sal_uInt16>(SwBorderModes::FRAME)));
rPage.PageCreated(aSet);
}
- //UUUU inits for Area and Transparency TabPages
+ // inits for Area and Transparency TabPages
// The selection attribute lists (XPropertyList derivates, e.g. XColorList for
// the color table) need to be added as items (e.g. SvxColorListItem) to make
// these pages find the needed attributes for fill style suggestions.