summaryrefslogtreecommitdiff
path: root/svx/source/dialog
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
parent17f5a2e55db527cc8ebf9d8a89f876f773552176 (diff)
#94702# No positioning in constructor. Defaults are handled by SFX
Diffstat (limited to 'svx/source/dialog')
-rw-r--r--svx/source/dialog/_contdlg.cxx17
-rw-r--r--svx/source/dialog/imapdlg.cxx11
-rw-r--r--svx/source/dialog/rubydialog.cxx6
3 files changed, 15 insertions, 19 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 );
}
/*************************************************************************
diff --git a/svx/source/dialog/imapdlg.cxx b/svx/source/dialog/imapdlg.cxx
index 00bd0a89c12a..072f75fcce20 100644
--- a/svx/source/dialog/imapdlg.cxx
+++ b/svx/source/dialog/imapdlg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: imapdlg.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: ka $ $Date: 2001-11-22 14:26:06 $
+ * 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
@@ -215,15 +215,12 @@ SvxIMapDlgChildWindow::SvxIMapDlgChildWindow( Window* pParent, USHORT nId,
pWindow = new SvxIMapDlg( pBindings, this, pParent, SVX_RES( RID_SVXDLG_IMAP ) );
SvxIMapDlg* pDlg = (SvxIMapDlg*) pWindow;
- if ( pInfo->aSize.Width() && pInfo->aSize.Height() )
- pWindow->SetPosSizePixel( pInfo->aPos, pInfo->aSize );
- else
- pWindow->SetPosPixel( Point() );
-
if ( pInfo->nFlags & SFX_CHILDWIN_ZOOMIN )
pDlg->RollUp();
eChildAlignment = SFX_ALIGN_NOALIGNMENT;
+
+ pDlg->Initialize( pInfo );
}
diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx
index b35490a3c00b..7b229fa1ec0c 100644
--- a/svx/source/dialog/rubydialog.cxx
+++ b/svx/source/dialog/rubydialog.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: rubydialog.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: os $ $Date: 2001-11-02 11:11:18 $
+ * 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
@@ -156,6 +156,8 @@ SvxRubyChildWindow::SvxRubyChildWindow( Window* pParent, USHORT nId,
pDlg->RollUp();
eChildAlignment = SFX_ALIGN_NOALIGNMENT;
+
+ pDlg->Initialize( pInfo );
}
/* -----------------------------10.01.01 13:53--------------------------------