summaryrefslogtreecommitdiff
path: root/sw/source/ui/chrdlg/drpcps.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/chrdlg/drpcps.cxx')
-rw-r--r--sw/source/ui/chrdlg/drpcps.cxx16
1 files changed, 5 insertions, 11 deletions
diff --git a/sw/source/ui/chrdlg/drpcps.cxx b/sw/source/ui/chrdlg/drpcps.cxx
index 5bd791f2ba32..b6f3163fcd93 100644
--- a/sw/source/ui/chrdlg/drpcps.cxx
+++ b/sw/source/ui/chrdlg/drpcps.cxx
@@ -519,18 +519,12 @@ void SwDropCapsPict::_InitPrinter()
}
}
-SwDropCapsDlg::SwDropCapsDlg(Window *pParent, const SfxItemSet &rSet ) :
-
- SfxNoLayoutSingleTabDialog(pParent, rSet, 0)
-
-{
- SwDropCapsPage* pNewPage = (SwDropCapsPage*) SwDropCapsPage::Create(this, rSet);
- pNewPage->SetFormat(sal_False);
- SetTabPage(pNewPage);
-}
-
- SwDropCapsDlg::~SwDropCapsDlg()
+SwDropCapsDlg::SwDropCapsDlg(Window *pParent, const SfxItemSet &rSet )
+ : SfxSingleTabDialog(pParent, rSet)
{
+ SwDropCapsPage* pNewPage = (SwDropCapsPage*) SwDropCapsPage::Create(get_content_area(), rSet);
+ pNewPage->SetFormat(false);
+ setTabPage(pNewPage);
}
SwDropCapsPage::SwDropCapsPage(Window *pParent, const SfxItemSet &rSet)