From: Aron Budea Date: Mon, 21 Apr 2025 07:53:26 +0000 (+0930) Subject: tdf#165917: Revert "tdf#165228 Don't reuse previous path in save dialog" X-Git-Tag: archive/raspbian/4%25.2.2-3+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5758dfd47c34b0e15d3b7bd37c7691da064e128c;p=libreoffice.git tdf#165917: Revert "tdf#165228 Don't reuse previous path in save dialog" This has been partially resolved in 25.8 by 3fa39a4dadc8e2777185465a6f7c9968c8cf44d1. Since that is only a partial fix (see eg. tdf#165392), and was not backported, let's revert in release versions due to number of reports. This reverts commit 67cffdf1b2872b4bcac657f7bcf63f19c261a5c6. Change-Id: I69f230ef1fca77d5636feec0895b9ca81346f4a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184405 Tested-by: Jenkins Tested-by: Gabor Kelemen Reviewed-by: Aron Budea (cherry picked from commit 446fe1d1b85ee98a4b8146c921e7eea22ed7e3a5) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184503 Reviewed-by: Christian Lohmaier Tested-by: Christian Lohmaier Reviewed-by: Xisco Fauli Gbp-Pq: Name revert-67cffdf1b2872b4bcac657f7bcf63f19c261a5c6.diff --- diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index dce3103de3c..07325adf308 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -1476,7 +1476,6 @@ ErrCode FileDialogHelper_Impl::execute( std::vector& rpURLList, } rpURLList.clear(); - maPath.clear(); // tdf#147202 This should not survive between calls to execute if ( ! mxFileDlg.is() ) return ERRCODE_ABORT;