summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-04-24 02:20:42 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-04-27 05:27:16 +0200
commite248194bf4d41e99cd581552c9a68b8aed18447f (patch)
treeea5aed53b582f6275272a04292e79e47715d0d54 /vcl
parentab9c8141380f5965aa9644b1032af54091a78212 (diff)
vcl: remove inaccurate and misleading comment
Change-Id: I16d53d10f02736dda3202ac02b2a4909f53f19ab Reviewed-on: https://gerrit.libreoffice.org/36860 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.cxx2
1 files changed, 1 insertions, 1 deletions
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())