vcl/source/window/errinf.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e248194bf4d41e99cd581552c9a68b8aed18447f Author: Chris Sherlock <chris.sherloc...@gmail.com> Date: Mon Apr 24 02:20:42 2017 +1000 vcl: remove inaccurate and misleading comment Change-Id: I16d53d10f02736dda3202ac02b2a4909f53f19ab Reviewed-on: https://gerrit.libreoffice.org/36860 Reviewed-by: Chris Sherlock <chris.sherloc...@gmail.com> Tested-by: Chris Sherlock <chris.sherloc...@gmail.com> 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()) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits