Browse Source

Add a note for Document::saveAs()

device will be closed by this function.
master
Debao Zhang 10 years ago
parent
commit
9f7b6d4c45
  1. 2
      src/xlsx/xlsxdocument.cpp

2
src/xlsx/xlsxdocument.cpp

@ -1026,6 +1026,8 @@ bool Document::saveAs(const QString &name) const
/*! /*!
* \overload * \overload
* This function writes a document to the given \a device. * 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 bool Document::saveAs(QIODevice *device) const
{ {

Loading…
Cancel
Save