diff options
-rw-r--r-- | cui/source/customize/acccfg.cxx | 4 | ||||
-rw-r--r-- | include/vcl/svapp.hxx | 4 | ||||
-rw-r--r-- | vcl/source/app/svapp.cxx | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx index cb1ed554d501..ca602f8e96be 100644 --- a/cui/source/customize/acccfg.cxx +++ b/cui/source/customize/acccfg.cxx @@ -1032,8 +1032,8 @@ void SfxAcceleratorConfigPage::Init(const uno::Reference<ui::XAcceleratorConfigu } // Map the VCL hardcoded key codes and mark them as not changeable - sal_uLong c3 = Application::GetReservedKeyCodeCount(); - sal_uLong i3 = 0; + size_t c3 = Application::GetReservedKeyCodeCount(); + size_t i3 = 0; for (i3 = 0; i3 < c3; ++i3) { const vcl::KeyCode* pKeyCode = Application::GetReservedKeyCode(i3); diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx index 61a7443c5cec..0fa4b08d7600 100644 --- a/include/vcl/svapp.hxx +++ b/include/vcl/svapp.hxx @@ -1038,7 +1038,7 @@ public: @see GetReservedKeyCode */ - static sal_uLong GetReservedKeyCodeCount(); + static size_t GetReservedKeyCodeCount(); /** Get the reserved key code. @@ -1048,7 +1048,7 @@ public: @see GetReservedKeyCodeCount */ - static const vcl::KeyCode* GetReservedKeyCode( sal_uLong i ); + static const vcl::KeyCode* GetReservedKeyCode( size_t i ); ///@} 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; |