1 |
--- sfx2/source/doc/guisaveas.cxx~ 2010-11-11 16:30:08.000000000 +0100 |
2 |
+++ sfx2/source/doc/guisaveas.cxx 2011-01-28 00:39:30.880565388 +0100 |
3 |
@@ -302,7 +302,7 @@ |
4 |
sal_Bool bSetStandardName, |
5 |
::rtl::OUString& aSuggestedName, |
6 |
sal_Bool bPreselectPassword, |
7 |
- const ::rtl::OUString& aSuggestedDir, |
8 |
+ ::rtl::OUString& aSuggestedDir, |
9 |
sal_Int16 nDialog, |
10 |
const ::rtl::OUString& rStandardDir, |
11 |
const ::com::sun::star::uno::Sequence< ::rtl::OUString >& rBlackList |
12 |
@@ -808,7 +808,7 @@ |
13 |
sal_Bool bSetStandardName, |
14 |
::rtl::OUString& aSuggestedName, |
15 |
sal_Bool bPreselectPassword, |
16 |
- const ::rtl::OUString& aSuggestedDir, |
17 |
+ ::rtl::OUString& aSuggestedDir, |
18 |
sal_Int16 nDialog, |
19 |
const ::rtl::OUString& rStandardDir, |
20 |
const ::com::sun::star::uno::Sequence< ::rtl::OUString >& rBlackList) |
21 |
@@ -1504,9 +1504,9 @@ |
22 |
sal_Bool bExit = sal_False; |
23 |
while ( !bExit ) |
24 |
{ |
25 |
+ // in case the dialog is opend a second time the folder should be the same as before, not what was handed over by parameters |
26 |
bUseFilterOptions = aModelData.OutputFileDialog( nStoreMode, aFilterProps, bSetStandardName, aSuggestedName, bPreselectPassword, aSuggestedDir, nDialog, sStandardDir, aBlackList ); |
27 |
|
28 |
- // in case the dialog is opend a second time the folder should be the same as before, not what was handed over by parameters |
29 |
aSuggestedDir = ::rtl::OUString(); |
30 |
if ( nStoreMode == SAVEAS_REQUESTED ) |
31 |
{ |