summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-22 13:51:47 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-25 06:01:56 +0000
commitf4b8b9ad1109b63afea6d8111a2e0799399a2fb2 (patch)
treee02b8e5b14a8bc1333707fd0d2a88ddb40e63945 /tools
parent924126df792915092ee6201d1f068e43ffb80b67 (diff)
rename EDcr_Impl to DynamicErrorInfo_Impl
Change-Id: Id184df4e4466930ba75e47e257ceb75be2fab34b Reviewed-on: https://gerrit.libreoffice.org/24309 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/source/ref/errinf.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/source/ref/errinf.cxx b/tools/source/ref/errinf.cxx
index 5e589baeaca6..97f0616d85bf 100644
--- a/tools/source/ref/errinf.cxx
+++ b/tools/source/ref/errinf.cxx
@@ -45,7 +45,7 @@ public:
struct TheEDcrData: public rtl::Static<EDcrData, TheEDcrData> {};
-class EDcr_Impl
+class DynamicErrorInfo_Impl
{
sal_uIntPtr lErrId;
sal_uInt16 nMask;
@@ -69,7 +69,7 @@ EDcrData::EDcrData()
ppDcr[n]=nullptr;
}
-void EDcr_Impl::RegisterEDcr(DynamicErrorInfo *pDcr)
+void DynamicErrorInfo_Impl::RegisterEDcr(DynamicErrorInfo *pDcr)
{
// Register dynamic identifier
EDcrData& pData=TheEDcrData::get();
@@ -87,7 +87,7 @@ void EDcr_Impl::RegisterEDcr(DynamicErrorInfo *pDcr)
pData.nNextDcr=0;
}
-void EDcr_Impl::UnRegisterEDcr(DynamicErrorInfo *pDcr)
+void DynamicErrorInfo_Impl::UnRegisterEDcr(DynamicErrorInfo *pDcr)
{
DynamicErrorInfo **ppDcr=TheEDcrData::get().ppDcr;
sal_uIntPtr lIdx=(
@@ -105,7 +105,7 @@ ErrorInfo::~ErrorInfo()
ErrorInfo *ErrorInfo::GetErrorInfo(sal_uIntPtr lId)
{
if(lId & ERRCODE_DYNAMIC_MASK)
- return EDcr_Impl::GetDynamicErrorInfo(lId);
+ return DynamicErrorInfo_Impl::GetDynamicErrorInfo(lId);
else
return new ErrorInfo(lId);
}
@@ -117,7 +117,7 @@ DynamicErrorInfo::operator sal_uIntPtr() const
DynamicErrorInfo::DynamicErrorInfo(sal_uIntPtr lArgUserId, sal_uInt16 nMask)
: ErrorInfo(lArgUserId),
- pImpl(new EDcr_Impl)
+ pImpl(new DynamicErrorInfo_Impl)
{
pImpl->RegisterEDcr(this);
pImpl->nMask=nMask;
@@ -125,10 +125,10 @@ DynamicErrorInfo::DynamicErrorInfo(sal_uIntPtr lArgUserId, sal_uInt16 nMask)
DynamicErrorInfo::~DynamicErrorInfo()
{
- EDcr_Impl::UnRegisterEDcr(this);
+ DynamicErrorInfo_Impl::UnRegisterEDcr(this);
}
-ErrorInfo* EDcr_Impl::GetDynamicErrorInfo(sal_uIntPtr lId)
+ErrorInfo* DynamicErrorInfo_Impl::GetDynamicErrorInfo(sal_uIntPtr lId)
{
sal_uIntPtr lIdx=((lId & ERRCODE_DYNAMIC_MASK)>>ERRCODE_DYNAMIC_SHIFT)-1;
DynamicErrorInfo* pDcr=TheEDcrData::get().ppDcr[lIdx];