--- sfx2/source/doc/guisaveas.cxx~ 2010-11-11 16:30:08.000000000 +0100 +++ sfx2/source/doc/guisaveas.cxx 2011-01-28 00:39:30.880565388 +0100 @@ -302,7 +302,7 @@ sal_Bool bSetStandardName, ::rtl::OUString& aSuggestedName, sal_Bool bPreselectPassword, - const ::rtl::OUString& aSuggestedDir, + ::rtl::OUString& aSuggestedDir, sal_Int16 nDialog, const ::rtl::OUString& rStandardDir, const ::com::sun::star::uno::Sequence< ::rtl::OUString >& rBlackList @@ -808,7 +808,7 @@ sal_Bool bSetStandardName, ::rtl::OUString& aSuggestedName, sal_Bool bPreselectPassword, - const ::rtl::OUString& aSuggestedDir, + ::rtl::OUString& aSuggestedDir, sal_Int16 nDialog, const ::rtl::OUString& rStandardDir, const ::com::sun::star::uno::Sequence< ::rtl::OUString >& rBlackList) @@ -1504,9 +1504,9 @@ sal_Bool bExit = sal_False; while ( !bExit ) { + // in case the dialog is opend a second time the folder should be the same as before, not what was handed over by parameters bUseFilterOptions = aModelData.OutputFileDialog( nStoreMode, aFilterProps, bSetStandardName, aSuggestedName, bPreselectPassword, aSuggestedDir, nDialog, sStandardDir, aBlackList ); - // in case the dialog is opend a second time the folder should be the same as before, not what was handed over by parameters aSuggestedDir = ::rtl::OUString(); if ( nStoreMode == SAVEAS_REQUESTED ) {