Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 8d94992bbfa224fc7fc355e86b519d40 > files > 73

libreoffice-3.3.3.1-0.1.mga1.src.rpm

--- 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 )
             {