summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/doctdlg.cxx
diff options
context:
space:
mode:
authorPeter Burow <pb@openoffice.org>2001-06-28 06:54:44 +0000
committerPeter Burow <pb@openoffice.org>2001-06-28 06:54:44 +0000
commitbc570a7b7213f13437a75dd328f074c6073f1d25 (patch)
tree052fee8dddef114f94f933ac7f066a9ff0bd4a36 /sfx2/source/doc/doctdlg.cxx
parent309852637bd900b39bd1eefdb17c71a073434879 (diff)
fix: #88882# FixedLine instead of GroupBox
Diffstat (limited to 'sfx2/source/doc/doctdlg.cxx')
-rw-r--r--sfx2/source/doc/doctdlg.cxx43
1 files changed, 24 insertions, 19 deletions
diff --git a/sfx2/source/doc/doctdlg.cxx b/sfx2/source/doc/doctdlg.cxx
index 5aae4f905a8d..4fa03d909cf1 100644
--- a/sfx2/source/doc/doctdlg.cxx
+++ b/sfx2/source/doc/doctdlg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: doctdlg.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:52:32 $
+ * last change: $Author: pb $ $Date: 2001-06-28 07:53:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -80,24 +80,30 @@
//=========================================================================
-SfxDocumentTemplateDlg::SfxDocumentTemplateDlg(
- Window * pParent, SfxDocumentTemplates* pTempl )
-: ModalDialog( pParent, SfxResId(DLG_DOC_TEMPLATE) ),
- aRegionFt( this, ResId( FT_SECTION ) ),
- aRegionLb( this, ResId( LB_SECTION ) ),
- aTemplateFt( this, ResId( FT_STYLESHEETS ) ),
- aTemplateLb( this, ResId( LB_STYLESHEETS ) ),
- aNameEd( this, ResId( ED_NAME ) ),
- aTemplateGb( this, ResId( GB_STYLESHEETS ) ),
- aEditGb( this, ResId( GB_EDIT ) ),
- aOkBt( this, ResId( BT_OK ) ),
- aEditBt( this, ResId( BT_EDIT ) ),
- aCancelBt( this, ResId( BT_CANCEL ) ),
- aOrganizeBt( this, ResId( BT_ORGANIZE ) ),
- aHelpBt( this, ResId( BT_HELP ) ),
- pTemplates( pTempl )
+SfxDocumentTemplateDlg::SfxDocumentTemplateDlg( Window * pParent, SfxDocumentTemplates* pTempl ) :
+
+ ModalDialog( pParent, SfxResId( DLG_DOC_TEMPLATE ) ),
+
+ aEditFL ( this, ResId( FL_EDIT ) ),
+ aNameEd ( this, ResId( ED_NAME ) ),
+ aTemplateFL ( this, ResId( FL_STYLESHEETS ) ),
+ aRegionFt ( this, ResId( FT_SECTION ) ),
+ aRegionLb ( this, ResId( LB_SECTION ) ),
+ aTemplateFt ( this, ResId( FT_STYLESHEETS ) ),
+ aTemplateLb ( this, ResId( LB_STYLESHEETS ) ),
+
+ aOkBt ( this, ResId( BT_OK ) ),
+ aCancelBt ( this, ResId( BT_CANCEL ) ),
+ aHelpBt ( this, ResId( BT_HELP ) ),
+ aEditBt ( this, ResId( BT_EDIT ) ),
+ aOrganizeBt ( this, ResId( BT_ORGANIZE ) ),
+
+ pTemplates ( pTempl ),
+ pHelper ( NULL )
+
{
FreeResource();
+
pHelper = new SfxModalDefParentHelper( this );
aOrganizeBt.SetClickHdl(LINK(this, SfxDocumentTemplateDlg, OrganizeHdl));
aNameEd.SetModifyHdl(LINK(this, SfxDocumentTemplateDlg, NameModify));
@@ -259,4 +265,3 @@ void SfxDocumentTemplateDlg::NewTemplate(const String &rPath)
aRegionLb.GetSelectEntryPos(), GetTemplateName(), rPath);
}
-