From 3b704bc4f359be6dc244fc0ba33c0ebe34b85305 Mon Sep 17 00:00:00 2001 From: Tino Rachui Date: Thu, 16 Aug 2001 05:05:21 +0000 Subject: #89239#calling onInitDone of the parent in onInitiDone to center the dialog to its parent --- fpicker/source/win32/filepicker/WinFileOpenImpl.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'fpicker/source') 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(); } //----------------------------------------------------------------- -- cgit