summaryrefslogtreecommitdiff
path: root/sfx2/inc/guisaveas.hxx
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <jasuarez@igalia.com>2014-12-15 19:13:24 +0100
committerJacobo Aragunde Pérez <jaragunde@igalia.com>2015-04-13 09:08:05 +0000
commite904e6ad4876c095ab5ee7bd40540635c520c9de (patch)
treeed4b74b785cf4e8d83ae5b91eb73359f3d3f2783 /sfx2/inc/guisaveas.hxx
parent3618909684a892d912482844b81606bca4e0c29c (diff)
tdf#90478: Show the right default format when saving
When saving a file that is not in ODF format (the default format), there is a dialog asking if should keep the original format or rather use ODF. But the default format can be changed to a different one than ODF. And the dialog will still assume the ODF is the default one. This commit fixes the wording in the dialog to use the the default format instead of hard-coded ODF. In order to keep the text simple, instead of using the long name for the default format, it uses the proper file extension. So if for example changes from ODF to Microsoft Word 97 default format, and saving a non-Word document, the dialog will ask user if document should be saved in default DOC format. Change-Id: I0b259af9eca61161ec8a3d7e72d4722b5afdf4b4 Reviewed-on: https://gerrit.libreoffice.org/15170 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
Diffstat (limited to 'sfx2/inc/guisaveas.hxx')
-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 0c2aa9048746..19bfb51ff5e3 100644
--- a/sfx2/inc/guisaveas.hxx
+++ b/sfx2/inc/guisaveas.hxx
@@ -80,6 +80,7 @@ public:
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel,
const OUString& aOldUIName,
const OUString& aDefUIName,
+ const OUString& aDefExtension,
bool bCanProceedFurther );
static vcl::Window* GetModelWindow( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel );