From e248194bf4d41e99cd581552c9a68b8aed18447f Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Mon, 24 Apr 2017 02:20:42 +1000 Subject: vcl: remove inaccurate and misleading comment Change-Id: I16d53d10f02736dda3202ac02b2a4909f53f19ab Reviewed-on: https://gerrit.libreoffice.org/36860 Reviewed-by: Chris Sherlock Tested-by: Chris Sherlock --- vcl/source/window/errinf.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') diff --git a/vcl/source/window/errinf.cxx b/vcl/source/window/errinf.cxx index bce2d75e6c1d..ce50b4de326b 100644 --- a/vcl/source/window/errinf.cxx +++ b/vcl/source/window/errinf.cxx @@ -270,7 +270,7 @@ DialogMask ErrorHandler::HandleError(sal_uInt32 nErrCodeId, DialogMask nFlags) if (!rData.contexts.empty()) { rData.contexts.front()->GetString(pInfo->GetErrorCode(), aAction); - // Remove parent from context + for(ErrorContext *pCtx : rData.contexts) { if(pCtx->GetParent()) -- cgit v1.2.3