From b7c82daa28526c566047e158ab2ace522fc442dc Mon Sep 17 00:00:00 2001 From: Kayo Hamid Date: Thu, 14 Oct 2010 21:14:52 +0100 Subject: Switch to use SAL_N_ELEMENTS macro, everywhere --- sfx2/source/appl/shutdowniconw32.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2/source/appl/shutdowniconw32.cxx') diff --git a/sfx2/source/appl/shutdowniconw32.cxx b/sfx2/source/appl/shutdowniconw32.cxx index 1e5bf369a6a9..6aa9ea0b1a7b 100644 --- a/sfx2/source/appl/shutdowniconw32.cxx +++ b/sfx2/source/appl/shutdowniconw32.cxx @@ -251,7 +251,7 @@ static HMENU createSystrayMenu( ) OUString aEmpty; // insert the menu entries for launching the applications - for ( size_t i = 0; i < sizeof( aMenuItems ) / sizeof( aMenuItems[0] ); ++i ) + for ( size_t i = 0; i < SAL_N_ELEMENTS( aMenuItems ); ++i ) { if ( !aModuleOptions.IsModuleInstalled( aMenuItems[i].eModuleIdentifier ) ) // the complete application is not even installed -- cgit