diff --git a/src/xlsx/xlsxdocument.cpp b/src/xlsx/xlsxdocument.cpp index 63bce3a..314e789 100644 --- a/src/xlsx/xlsxdocument.cpp +++ b/src/xlsx/xlsxdocument.cpp @@ -1026,6 +1026,8 @@ bool Document::saveAs(const QString &name) const /*! * \overload * This function writes a document to the given \a device. + * + * \warning The \a device will be closed when this function returned. */ bool Document::saveAs(QIODevice *device) const {