summaryrefslogtreecommitdiff
path: root/vcl/source/window/event.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/event.cxx')
-rw-r--r--vcl/source/window/event.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/event.cxx b/vcl/source/window/event.cxx
index c8c6b730e1dd..4cba7187f86f 100644
--- a/vcl/source/window/event.cxx
+++ b/vcl/source/window/event.cxx
@@ -238,7 +238,7 @@ void Window::CallEventListeners( VclEventId nEvent, void* pData )
}
}
);
- for ( Link<VclWindowEvent&,void>& rLink : aCopy )
+ for ( const Link<VclWindowEvent&,void>& rLink : aCopy )
{
if (xWindow->IsDisposed()) break;
// check this hasn't been removed in some re-enterancy scenario fdo#47368
@@ -271,7 +271,7 @@ void Window::CallEventListeners( VclEventId nEvent, void* pData )
}
}
);
- for ( Link<VclWindowEvent&,void>& rLink : aCopy )
+ for ( const Link<VclWindowEvent&,void>& rLink : aCopy )
{
if (xWindow->IsDisposed())
return;