diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-22 14:30:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-25 09:13:35 +0200 |
commit | 668e3d422c6f87a534911a7884bd22fac47c4262 (patch) | |
tree | 632a093f52042f275043b1c7189c81cbe6f98201 /include | |
parent | a82805f8f97eeb6acadd7806cdb7120bed45a376 (diff) |
use std::vector<> instead of embedding next pointers for ErrorHandler data
Change-Id: I759fc0d2bbc113873e2dda8edc8eb2eaf8036626
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/errinf.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/tools/errinf.hxx b/include/tools/errinf.hxx index 1f9946bce920..571561eccdc0 100644 --- a/include/tools/errinf.hxx +++ b/include/tools/errinf.hxx @@ -75,7 +75,7 @@ public: StringErrorInfo( sal_uIntPtr lUserId, const OUString& aStringP, - sal_uInt16 nFlags = 0); + sal_uInt16 nMask = 0); const OUString& GetErrorString() const { return aString; } }; @@ -88,8 +88,8 @@ private: public: TwoStringErrorInfo(sal_uIntPtr nUserID, const OUString & rTheArg1, - const OUString & rTheArg2, sal_uInt16 nFlags = 0): - DynamicErrorInfo(nUserID, nFlags), aArg1(rTheArg1), aArg2(rTheArg2) {} + const OUString & rTheArg2, sal_uInt16 nMask = 0): + DynamicErrorInfo(nUserID, nMask), aArg1(rTheArg1), aArg2(rTheArg2) {} virtual ~TwoStringErrorInfo() {} @@ -101,10 +101,10 @@ class TOOLS_DLLPUBLIC MessageInfo : public DynamicErrorInfo { public: - MessageInfo(sal_uIntPtr UserId, sal_uInt16 nFlags = 0) : - DynamicErrorInfo(UserId, nFlags) {} - MessageInfo(sal_uIntPtr UserId, const OUString &rArg, sal_uInt16 nFlags = 0 ) : - DynamicErrorInfo(UserId, nFlags), aArg(rArg) {} + MessageInfo(sal_uIntPtr UserId, sal_uInt16 nMask = 0) : + DynamicErrorInfo(UserId, nMask) {} + MessageInfo(sal_uIntPtr UserId, const OUString &rArg, sal_uInt16 nMask = 0 ) : + DynamicErrorInfo(UserId, nMask), aArg(rArg) {} const OUString& GetMessageArg() const { return aArg; } |