summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorTino Rachui <tra@openoffice.org>2001-08-16 05:05:21 +0000
committerTino Rachui <tra@openoffice.org>2001-08-16 05:05:21 +0000
commit3b704bc4f359be6dc244fc0ba33c0ebe34b85305 (patch)
treec0303c116bd05ca663b27a424d70dae64eee5aed /fpicker
parent21296b60520e06eb214c9475c19f0593c669fa0b (diff)
#89239#calling onInitDone of the parent in onInitiDone to center the dialog to its parent
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/win32/filepicker/WinFileOpenImpl.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx b/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx
index 4d26ded426d3..589b1a45fc91 100644
--- a/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx
+++ b/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: WinFileOpenImpl.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: tra $ $Date: 2001-08-10 12:24:27 $
+ * last change: $Author: tra $ $Date: 2001-08-16 06:05:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -851,6 +851,10 @@ void SAL_CALL CWinFileOpenImpl::onInitDone()
// but now we have a valid parent handle
m_HelpPopupWindow.setParent( m_hwndFileOpenDlg );
+
+ // call the parent function to center the
+ // dialog to it's parent
+ CFileOpenDialog::onInitDone();
}
//-----------------------------------------------------------------