summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/vcl/errinf.hxx15
-rw-r--r--vcl/source/window/errinf.cxx15
2 files changed, 15 insertions, 15 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);
diff --git a/vcl/source/window/errinf.cxx b/vcl/source/window/errinf.cxx
index 4703e82325ae..d3b3ead2194e 100644
--- a/vcl/source/window/errinf.cxx
+++ b/vcl/source/window/errinf.cxx
@@ -112,21 +112,6 @@ bool ErrorHandler::GetErrorString(sal_uInt32 nErrCodeId, OUString& rErrStr)
return false;
}
-/** 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
-*/
DialogMask ErrorHandler::HandleError(sal_uInt32 nErrCodeId, DialogMask nFlags)
{
if(nErrCodeId != ERRCODE_NONE || nErrCodeId == ERRCODE_ABORT)