diff options
author | Michael Meeks <michael.meeks@suse.com> | 2013-07-29 18:09:37 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-07-29 18:10:46 +0100 |
commit | 7874295626be8a3cbbb8fafc02f0dbda06f6d761 (patch) | |
tree | 2f6415298d7062912f82fe6835174ba7dad0274a /desktop/inc | |
parent | 136f3bb1795048adc3ca5ba28d44809e5b791701 (diff) |
liblo - add ability to select filter / format for saveas.
Change-Id: I866c6cb836407019973559051c854d24f9549d2a
Diffstat (limited to 'desktop/inc')
-rw-r--r-- | desktop/inc/liblibreoffice.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/inc/liblibreoffice.hxx b/desktop/inc/liblibreoffice.hxx index eb7715b68c8f..1dc2ede120ba 100644 --- a/desktop/inc/liblibreoffice.hxx +++ b/desktop/inc/liblibreoffice.hxx @@ -15,7 +15,8 @@ class LODocument public: virtual ~LODocument() {} - virtual bool saveAs (const char *url) = 0; + // Save as the given format, if format is NULL sniff from ext'n + virtual bool saveAs (const char *url, const char *format = NULL) = 0; }; class LibLibreOffice |