From 75ca2d04abc96f88ee63852e070f84984f27ad3f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 12 Jan 2018 20:13:22 +0100 Subject: More loplugin:cstylecast: toolkit auto-rewrite with "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: Iaee0fee0cbc6e5311342b83d847cb89bd1056973 --- toolkit/source/awt/vclxtopwindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolkit/source/awt/vclxtopwindow.cxx') 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(Application::GetScreenCount()) ) ) throw IndexOutOfBoundsException(); SystemWindow* pWindow = dynamic_cast< SystemWindow* >( GetWindowImpl() ); -- cgit