diff options
Diffstat (limited to 'include/LibreOfficeKit/LibreOfficeKit.hxx')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKit.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx index f61a4b824a2d..f1255f4a59eb 100644 --- a/include/LibreOfficeKit/LibreOfficeKit.hxx +++ b/include/LibreOfficeKit/LibreOfficeKit.hxx @@ -38,7 +38,7 @@ public: inline bool saveAs(const char* pUrl, const char* pFormat = NULL, const char* pFilterOptions = NULL) { - return mpDoc->pClass->saveAs(mpDoc, pUrl, pFormat, pFilterOptions); + return mpDoc->pClass->saveAs(mpDoc, pUrl, pFormat, pFilterOptions) != 0; } inline LibreOfficeKitDocument *get() { return mpDoc; } |