summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorbruh <randomforest33@gmail.com>2025-01-23 00:58:41 +0530
committerMike Kaganski <mike.kaganski@collabora.com>2025-01-24 12:58:19 +0100
commitcc42d34ce938352135fb405a47d5bc7e5d929e1b (patch)
treef59f5169c69dcf11cbdec79565c1aae29e5e2d20 /sfx2/inc
parente7befa23eacd46607afdf1363d9aaa93a589f547 (diff)
tdf#158624 - Improve warning dialogue for non-recommended formats during save
Implemented changes to display the recommended file extension in the warning dialogue when a non-recommended extension is selected during document save. This improves user guidance and ensures better file format compatibility. Change-Id: I08208a8968f37a4dfeb34623402004b41a0a2c34 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180605 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/guisaveas.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/inc/guisaveas.hxx b/sfx2/inc/guisaveas.hxx
index a1f85bbc2248..d6a037f4ed26 100644
--- a/sfx2/inc/guisaveas.hxx
+++ b/sfx2/inc/guisaveas.hxx
@@ -101,6 +101,7 @@ public:
static bool WarnUnacceptableFormat(
const css::uno::Reference< css::frame::XModel >& xModel,
std::u16string_view aOldUIName,
+ std::u16string_view aExtension,
const OUString& aDefExtension,
bool rDefaultIsAlien );