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.hxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/desktop/inc/liblibreoffice.hxx b/desktop/inc/liblibreoffice.hxx
index ef01cb31620b..29d3f7222373 100644
--- a/desktop/inc/liblibreoffice.hxx
+++ b/desktop/inc/liblibreoffice.hxx
@@ -35,9 +35,14 @@ public:
}
// Save as the given format, if format is NULL sniff from ext'n
- inline bool saveAs(const char* pUrl, const char* pFormat = NULL, const char* pFilterOptions = NULL)
+ inline bool saveAs(const char* pUrl, const char* pFormat = NULL)
{
- return mpDoc->saveAs(mpDoc, pUrl, pFormat, pFilterOptions);
+ return mpDoc->saveAs(mpDoc, pUrl, pFormat);
+ }
+
+ inline bool saveAsWithOptions(const char* pUrl, const char* pFormat = NULL, const char* pFilterOptions = NULL)
+ {
+ return mpDoc->saveAsWithOptions(mpDoc, pUrl, pFormat, pFilterOptions);
}
};