Kaydet (Commit) 66d6b3fd authored tarafından Sean McMurray's avatar Sean McMurray Kaydeden (comit) Caolán McNamara

Use SAL_N_ELEMENTS

üst 474bcda1
......@@ -173,9 +173,8 @@ namespace rptui
};
s_pPropertyInfos = aPropertyInfos;
s_nCount = sizeof(aPropertyInfos) / sizeof(OPropertyInfoImpl);
::std::sort( aPropertyInfos, aPropertyInfos + s_nCount, PropertyInfoLessByName() );
::std::sort( aPropertyInfos, aPropertyInfos + SAL_N_ELEMENTS(aPropertyInfos), PropertyInfoLessByName() );
return s_pPropertyInfos;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment