diff options
Diffstat (limited to 'toolkit/source/awt/vclxtopwindow.cxx')
-rw-r--r-- | toolkit/source/awt/vclxtopwindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxtopwindow.cxx b/toolkit/source/awt/vclxtopwindow.cxx index 17d79d7bfecd..69330da50fa6 100644 --- a/toolkit/source/awt/vclxtopwindow.cxx +++ b/toolkit/source/awt/vclxtopwindow.cxx @@ -227,7 +227,7 @@ void SAL_CALL VCLXTopWindow_Base::setDisplay( ::sal_Int32 _display ) { SolarMutexGuard aGuard; - if ( ( _display < 0 ) || ( _display >= (sal_Int32)Application::GetScreenCount() ) ) + if ( ( _display < 0 ) || ( _display >= static_cast<sal_Int32>(Application::GetScreenCount()) ) ) throw IndexOutOfBoundsException(); SystemWindow* pWindow = dynamic_cast< SystemWindow* >( GetWindowImpl() ); |