diff options
author | Oliver Specht <oliver.specht@cib.de> | 2015-09-29 15:35:28 +0200 |
---|---|---|
committer | Oliver Specht <oliver.specht@cib.de> | 2015-10-01 08:32:26 +0000 |
commit | 85f93697defd9a812a0cda0bc4e9364e28c0339e (patch) | |
tree | 0c43827cda0e18b03c3d28599b696bcab3a8069a /tools | |
parent | c1e0a697a70872ef1b6deaf5222538899554221b (diff) |
tdf#94559: third step to remove rtti.hxx
replaced use of PTR_CAST, IS_TYPE, ISA in
oox, reportdesign, svl, svtools, svx, tools
Change-Id: I1f85ff92267a0668eba625fa61b4f07feb8f3d4e
Reviewed-on: https://gerrit.libreoffice.org/19002
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/ref/errinf.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/source/ref/errinf.cxx b/tools/source/ref/errinf.cxx index 68687ca97bd3..dc0e8b0506a6 100644 --- a/tools/source/ref/errinf.cxx +++ b/tools/source/ref/errinf.cxx @@ -98,6 +98,10 @@ void EDcr_Impl::UnRegisterEDcr(DynamicErrorInfo *pDcr) } TYPEINIT0(ErrorInfo); +ErrorInfo::~ErrorInfo() +{ +} + TYPEINIT1(DynamicErrorInfo, ErrorInfo); TYPEINIT1(StringErrorInfo, DynamicErrorInfo); TYPEINIT1(TwoStringErrorInfo, DynamicErrorInfo); @@ -285,7 +289,7 @@ sal_uInt16 ErrorHandler::HandleError_Impl( else nErrFlags |= ERRCODE_MSG_ERROR; - DynamicErrorInfo* pDynPtr=PTR_CAST(DynamicErrorInfo,pInfo); + DynamicErrorInfo* pDynPtr=dynamic_cast<DynamicErrorInfo*>(pInfo); if(pDynPtr) { sal_uInt16 nDynFlags = pDynPtr->GetDialogMask(); |