summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-04-15 13:18:43 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-04-15 13:18:43 +0000
commit2532863ce0faf499c958d5c990a987207bac8367 (patch)
tree93b3f4bdb01bf290392603bce9be79051b2bcddd
parent73b8c03a671f90ee22119a5ca9a2cd4bac1c6f01 (diff)
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
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx5
1 files changed, 4 insertions, 1 deletions
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