diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-05-31 12:36:21 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-05-31 13:09:03 +0100 |
commit | a0bbb2a1af40e42d02f0f7567580475b3c39e50b (patch) | |
tree | 8f57661f9012d1c7eed81531c2da4601b4773bf6 /dbaccess/source/ui/app/AppIconControl.cxx | |
parent | Library_dbtools.mk: fix cyclic dependency on connectivity_generated (diff) | |
download | core-a0bbb2a1af40e42d02f0f7567580475b3c39e50b.tar.gz core-a0bbb2a1af40e42d02f0f7567580475b3c39e50b.zip |
targetted SAL_N_ELEMENTS reversion.
Change-Id: I181c5b5dd24836ff0398aa5ed03915c2c7c55183
Diffstat (limited to 'dbaccess/source/ui/app/AppIconControl.cxx')
-rw-r--r-- | dbaccess/source/ui/app/AppIconControl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/app/AppIconControl.cxx b/dbaccess/source/ui/app/AppIconControl.cxx index 189cb19e22b4..657154922292 100644 --- a/dbaccess/source/ui/app/AppIconControl.cxx +++ b/dbaccess/source/ui/app/AppIconControl.cxx @@ -60,7 +60,7 @@ OApplicationIconControl::OApplicationIconControl(Window* _pParent) { RID_STR_FORMS_CONTAINER, E_FORM, IMG_FORMFOLDER_TREE_L }, { RID_STR_REPORTS_CONTAINER, E_REPORT, IMG_REPORTFOLDER_TREE_L } }; - for ( size_t i=0; i < SAL_N_ELEMENTS(aCategories); ++i) + for ( size_t i=0; i < sizeof(aCategories)/sizeof(aCategories[0]); ++i) { SvxIconChoiceCtrlEntry* pEntry = InsertEntry( String( ModuleRes( aCategories[i].nLabelResId ) ) , |