summaryrefslogtreecommitdiff
path: root/desktop/inc/liblibreoffice.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/inc/liblibreoffice.hxx')
-rw-r--r--desktop/inc/liblibreoffice.hxx3
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