summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-08 11:14:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-02-08 12:18:41 +0000
commitff82f13b6837b034987cd6fd26de136071cee0c5 (patch)
treeb7d525e29338543c12c438cc53a05fcd2c4b1a67 /tools
parent9192e85076f99772884393e4cc2aa9b663b2e43f (diff)
drop unused error strings
includes ERRCODE_SFXMSG_STYLEREPLACE which has the knock on effect that the flags argument can be removed from a bunch of methods Change-Id: I72b58bc2a19376bb4609e61aa44e71f734efb333
Diffstat (limited to 'tools')
-rw-r--r--tools/source/ref/errinf.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/source/ref/errinf.cxx b/tools/source/ref/errinf.cxx
index 4c3eb5209751..4e205ec7d75f 100644
--- a/tools/source/ref/errinf.cxx
+++ b/tools/source/ref/errinf.cxx
@@ -147,7 +147,7 @@ StringErrorInfo::StringErrorInfo(
class ErrorHandler_Impl
{
public:
- static bool CreateString(const ErrorInfo*, OUString&, sal_uInt16&);
+ static bool CreateString(const ErrorInfo*, OUString&);
};
static void aDspFunc(const OUString &rErr, const OUString &rAction)
@@ -272,7 +272,7 @@ sal_uInt16 ErrorHandler::HandleError_Impl(
nErrFlags = nDynFlags;
}
- if(ErrorHandler_Impl::CreateString(pInfo,aErr,nErrFlags))
+ if(ErrorHandler_Impl::CreateString(pInfo,aErr))
{
if (bJustCreateString)
{
@@ -337,12 +337,11 @@ sal_uInt16 ErrorHandler::HandleError(sal_uIntPtr lId, sal_uInt16 nFlags)
return HandleError_Impl( lId, nFlags, false, aDummy );
}
-bool ErrorHandler_Impl::CreateString( const ErrorInfo* pInfo, OUString& pStr,
- sal_uInt16 &rFlags)
+bool ErrorHandler_Impl::CreateString(const ErrorInfo* pInfo, OUString& rStr)
{
for(const ErrorHandler *pHdl : TheEDcrData::get().errorHandlers)
{
- if(pHdl->CreateString( pInfo, pStr, rFlags))
+ if(pHdl->CreateString(pInfo, rStr))
return true;
}
return false;