include/vcl/errinf.hxx | 4 ++-- vcl/source/window/errinf.cxx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
New commits: commit ab9c8141380f5965aa9644b1032af54091a78212 Author: Chris Sherlock <chris.sherloc...@gmail.com> Date: Sun Apr 23 19:39:43 2017 +1000 vcl: ErrorHandler_Impl renamed to ErrorStringFactory This isn't just a pImpl class, it's actually a factory used to determine which error handler should create the error strings. Change-Id: I2901a45d7c1e16608b3fbe39e9c5cd9d5cb9627b Reviewed-on: https://gerrit.libreoffice.org/36852 Reviewed-by: Chris Sherlock <chris.sherloc...@gmail.com> Tested-by: Chris Sherlock <chris.sherloc...@gmail.com> diff --git a/include/vcl/errinf.hxx b/include/vcl/errinf.hxx index 2820729a3676..cc1118384118 100644 --- a/include/vcl/errinf.hxx +++ b/include/vcl/errinf.hxx @@ -32,7 +32,7 @@ namespace vcl { class Window; } class DynamicErrorInfo_Impl; -class ErrorHandler_Impl; +class ErrorStringFactory; enum class DialogMask { @@ -149,7 +149,7 @@ typedef void BasicDisplayErrorFunc( class SAL_WARN_UNUSED VCL_DLLPUBLIC ErrorHandler { - friend class ErrorHandler_Impl; + friend class ErrorStringFactory; public: ErrorHandler(); diff --git a/vcl/source/window/errinf.cxx b/vcl/source/window/errinf.cxx index fdd361357a0d..bce2d75e6c1d 100644 --- a/vcl/source/window/errinf.cxx +++ b/vcl/source/window/errinf.cxx @@ -149,7 +149,7 @@ StringErrorInfo::StringErrorInfo( { } -class ErrorHandler_Impl +class ErrorStringFactory { public: static bool CreateString(const ErrorInfo*, OUString&); @@ -232,7 +232,7 @@ bool ErrorHandler::GetErrorString(sal_uInt32 nErrCodeId, OUString& rErrStr) ErrorInfo *pInfo = ErrorInfo::GetErrorInfo(nErrCodeId); - if (ErrorHandler_Impl::CreateString(pInfo,aErr)) + if (ErrorStringFactory::CreateString(pInfo,aErr)) { rErrStr = aErr; return true; @@ -337,7 +337,7 @@ DialogMask ErrorHandler::HandleError(sal_uInt32 nErrCodeId, DialogMask nFlags) return DialogMask::NONE; } -bool ErrorHandler_Impl::CreateString(const ErrorInfo* pInfo, OUString& rStr) +bool ErrorStringFactory::CreateString(const ErrorInfo* pInfo, OUString& rStr) { for(const ErrorHandler *pHdlr : TheErrorRegistry::get().errorHandlers) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits