From 08edc74a6b6ccf0d4d1560f57ec99a1ad9b390ce Mon Sep 17 00:00:00 2001 From: Muhammet Kara Date: Sat, 1 Feb 2020 14:20:44 +0300 Subject: sal_uLong to size_t for sizeof related types Change-Id: I00055ffd7b79d2e5637b69390ca516f11b0cffd9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87801 Tested-by: Jenkins Reviewed-by: Muhammet Kara --- vcl/source/app/svapp.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl') diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index a5aefbbf2f2f..14674da4ff3b 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -274,12 +274,12 @@ void Application::Abort( const OUString& rErrorText ) SalAbort( rErrorText, dumpCore ); } -sal_uLong Application::GetReservedKeyCodeCount() +size_t Application::GetReservedKeyCodeCount() { return SAL_N_ELEMENTS(ReservedKeys); } -const vcl::KeyCode* Application::GetReservedKeyCode( sal_uLong i ) +const vcl::KeyCode* Application::GetReservedKeyCode( size_t i ) { if( i >= GetReservedKeyCodeCount() ) return nullptr; -- cgit