summaryrefslogtreecommitdiffstats
path: root/svx/source/dialog/_contdlg.cxx
diff options
context:
space:
mode:
authorThorsten Behrens <thb@openoffice.org>2001-11-27 14:06:07 +0000
committerThorsten Behrens <thb@openoffice.org>2001-11-27 14:06:07 +0000
commit87be53f4a4e16fb2b8693c2dfdb84b27626d5caa (patch)
tree2a25646f17e6dce86aa456348fd2c5298abffc0c /svx/source/dialog/_contdlg.cxx
parent#95115# added helper for default graphic style export (diff)
downloadcore-87be53f4a4e16fb2b8693c2dfdb84b27626d5caa.tar.gz
core-87be53f4a4e16fb2b8693c2dfdb84b27626d5caa.zip
#94702# No positioning in constructor. Defaults are handled by SFX
Diffstat (limited to 'svx/source/dialog/_contdlg.cxx')
-rw-r--r--svx/source/dialog/_contdlg.cxx17
1 files changed, 7 insertions, 10 deletions
diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx
index 23ed677c45dc..80fe669b247d 100644
--- a/svx/source/dialog/_contdlg.cxx
+++ b/svx/source/dialog/_contdlg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: _contdlg.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: pb $ $Date: 2001-07-10 11:08:59 $
+ * last change: $Author: thb $ $Date: 2001-11-27 15:06:07 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -183,18 +183,15 @@ SvxContourDlgChildWindow::SvxContourDlgChildWindow( Window* pParent, USHORT nId,
SfxBindings* pBindings, SfxChildWinInfo* pInfo ) :
SfxChildWindow( pParent, nId )
{
- Point aPt;
- pWindow = new SvxSuperContourDlg( pBindings, this, pParent, CONT_RESID( RID_SVXDLG_CONTOUR ) );
-
- if ( pInfo->aSize.Width() && pInfo->aSize.Height() )
- pWindow->SetPosSizePixel( pInfo->aPos, pInfo->aSize );
- else
- pWindow->SetPosPixel( aPt );
+ SvxSuperContourDlg* pDlg = new SvxSuperContourDlg( pBindings, this, pParent, CONT_RESID( RID_SVXDLG_CONTOUR ) );
+ pWindow = pDlg;
if ( pInfo->nFlags & SFX_CHILDWIN_ZOOMIN )
- ( (SvxSuperContourDlg*) pWindow )->RollUp();
+ pDlg->RollUp();
eChildAlignment = SFX_ALIGN_NOALIGNMENT;
+
+ pDlg->Initialize( pInfo );
}
/*************************************************************************