diff options
Diffstat (limited to 'include/vcl/errinf.hxx')
-rw-r--r-- | include/vcl/errinf.hxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/vcl/errinf.hxx b/include/vcl/errinf.hxx index e8bb5127da20..476bbb52ac41 100644 --- a/include/vcl/errinf.hxx +++ b/include/vcl/errinf.hxx @@ -118,6 +118,21 @@ public: ErrorHandler(); virtual ~ErrorHandler(); + /** Handles an error. + + If nFlags is not set, the DynamicErrorInfo flags or the + resource flags will be used. Thus the order is: + + 1. nFlags, + 2. Resource Flags + 3. Dynamic Flags + 4. Default ButtonsOk, MessageError + + @param nErrCodeId error id + @param nFlags error flags. + + @return what sort of dialog to use, with what buttons + */ static DialogMask HandleError(sal_uInt32 nId, DialogMask nMask = DialogMask::MAX); static bool GetErrorString(sal_uInt32 nId, OUString& rStr); |