diff options
author | Oliver Specht <os@openoffice.org> | 2001-11-30 11:13:06 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2001-11-30 11:13:06 +0000 |
commit | d91ff4ffd2b3ea39f150b2ae04369dc1bc0483ca (patch) | |
tree | e75d354b7c330c8b46734aec055ef842e25869e0 /sw/source/ui/chrdlg/chardlg.cxx | |
parent | 166eea49606d9f5881f10532187951b77b657e08 (diff) |
#95423# call Execute at the FileDlgHelper instead of execute at XFilePicker
Diffstat (limited to 'sw/source/ui/chrdlg/chardlg.cxx')
-rw-r--r-- | sw/source/ui/chrdlg/chardlg.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sw/source/ui/chrdlg/chardlg.cxx b/sw/source/ui/chrdlg/chardlg.cxx index 8563d36c74d7..70b2a2b1fd3f 100644 --- a/sw/source/ui/chrdlg/chardlg.cxx +++ b/sw/source/ui/chrdlg/chardlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: chardlg.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: fme $ $Date: 2001-08-09 12:42:43 $ + * last change: $Author: os $ $Date: 2001-11-30 12:13:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -431,11 +431,9 @@ SfxTabPage* SwCharURLPage::Create( Window* pParent, IMPL_LINK( SwCharURLPage, InsertFileHdl, PushButton *, pBtn ) { FileDialogHelper aDlgHelper( FILEOPEN_SIMPLE, 0 ); - Reference < XFilePicker > xFP = aDlgHelper.GetFilePicker(); - -// pFileDlg->SetHelpId(HID_FILEDLG_CHARDLG); - if( xFP->execute() == RET_OK ) + if( aDlgHelper.Execute() == RET_OK ) { + Reference < XFilePicker > xFP = aDlgHelper.GetFilePicker(); aURLED.SetText(URIHelper::SmartRelToAbs(xFP->getFiles().getConstArray()[0])); } return 0; |