diff options
Diffstat (limited to 'include/vcl/errinf.hxx')
-rw-r--r-- | include/vcl/errinf.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/errinf.hxx b/include/vcl/errinf.hxx index 428a46eb72e4..4a3990b237ef 100644 --- a/include/vcl/errinf.hxx +++ b/include/vcl/errinf.hxx @@ -125,11 +125,12 @@ public: 4. Default ButtonsOk, MessageError @param nErrCodeId error id + @param pParent parent window the error dialog will be modal for. nullptr for unrecommended "pick default" @param nFlags error flags. @return what sort of dialog to use, with what buttons */ - static DialogMask HandleError(ErrCode nId, DialogMask nMask = DialogMask::MAX); + static DialogMask HandleError(ErrCode nId, vcl::Window* pParent = nullptr, DialogMask nMask = DialogMask::MAX); static bool GetErrorString(ErrCode nId, OUString& rStr); protected: |