From 2532863ce0faf499c958d5c990a987207bac8367 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Tue, 15 Apr 2008 13:18:43 +0000 Subject: INTEGRATION: CWS calcshare2 (1.139.4); FILE MERGED 2008/04/04 11:13:53 mav 1.139.4.1: #i87752# let SaveAs to the same document behave correctly --- sfx2/source/dialog/filedlghelper.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index 35520dbd6993..d3880389948d 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: filedlghelper.cxx,v $ - * $Revision: 1.141 $ + * $Revision: 1.142 $ * * This file is part of OpenOffice.org. * @@ -1563,6 +1563,9 @@ ErrCode FileDialogHelper_Impl::execute( SvStringsDtor*& rpURLList, catch( IllegalArgumentException ){} } + // the item should remain only if it was set by the dialog + rpSet->ClearItem( SID_SELECTION ); + if( mbExport ) { try -- cgit