diff options
author | Kenneth Venken <kenneth.venken@gmail.com> | 2010-12-03 13:59:47 +0000 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2010-12-03 13:59:47 +0000 |
commit | 39fc2df3c1d8e8bc8b689e2d21c193bc4886bf8c (patch) | |
tree | c663b430fd156eab527bbc3efa3def2b85b8ede2 /extensions/source/propctrlr/formmetadata.cxx | |
parent | 0bdef7cec695042a2259c327fc4ea84c74babd0f (diff) |
more Sal n elements
Diffstat (limited to 'extensions/source/propctrlr/formmetadata.cxx')
-rw-r--r-- | extensions/source/propctrlr/formmetadata.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/formmetadata.cxx b/extensions/source/propctrlr/formmetadata.cxx index d4790a44350b..a5b26feaf9ca 100644 --- a/extensions/source/propctrlr/formmetadata.cxx +++ b/extensions/source/propctrlr/formmetadata.cxx @@ -36,7 +36,7 @@ #include <svtools/localresaccess.hxx> #include <tools/debug.hxx> #include <cppuhelper/extract.hxx> - +#include <sal/macros.h> #include <algorithm> #include <functional> @@ -360,7 +360,7 @@ namespace pcr }; s_pPropertyInfos = aPropertyInfos; - s_nCount = sizeof(aPropertyInfos) / sizeof(OPropertyInfoImpl); + s_nCount = SAL_N_ELEMENTS(aPropertyInfos); // sort ::std::sort( s_pPropertyInfos, s_pPropertyInfos + s_nCount, PropertyInfoLessByName() ); |