LibreOffice Module sfx2 (master) 1
Functions
QuerySaveDocument.cxx File Reference
#include <sfx2/QuerySaveDocument.hxx>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
Include dependency graph for QuerySaveDocument.cxx:

Go to the source code of this file.

Functions

short ExecuteQuerySaveDocument (weld::Widget *_pParent, std::u16string_view _rTitle)
 Opens the general query save document dialog. More...
 

Function Documentation

◆ ExecuteQuerySaveDocument()

short ExecuteQuerySaveDocument ( weld::Widget _pParent,
std::u16string_view  _rTitle 
)

Opens the general query save document dialog.

Parameters
_pParentThe parent window. @_rTitle The title of the document.

Definition at line 24 of file QuerySaveDocument.cxx.

References Application::CreateBuilder(), Application::IsHeadlessModeEnabled(), and RET_NO.

Referenced by SfxObjectShell::PrepareClose().