diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-04-23 19:39:43 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-04-27 05:22:36 +0200 |
commit | ab9c8141380f5965aa9644b1032af54091a78212 (patch) | |
tree | f5f0f3a5ac894a3cf2ef2cc6f3bd82970ac94517 /vcl | |
parent | 46a153cbcac1a3e2881b83b5537037321c34797c (diff) |
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.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/errinf.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |