summaryrefslogtreecommitdiff
path: root/vcl/source/app/svapp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/app/svapp.cxx')
-rw-r--r--vcl/source/app/svapp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 77394497ed18..747c70a0ae95 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -1004,7 +1004,7 @@ ImplSVEvent * Application::PostUserEvent( const Link<void*,void>& rLink, void* p
SolarMutexGuard aGuard;
// Double check that this is indeed a vcl::Window instance.
assert(dynamic_cast<vcl::Window *>(
- static_cast<vcl::Window *>(rLink.GetInstance())) ==
+ static_cast<OutputDevice *>(rLink.GetInstance())) ==
static_cast<vcl::Window *>(rLink.GetInstance()));
pSVEvent->mpInstanceRef = static_cast<vcl::Window *>(rLink.GetInstance());
}