Kaydet (Commit) ddac6b1f authored tarafından Caolán McNamara's avatar Caolán McNamara

use SAL_N_ELEMENTS

Change-Id: I533ce52828ae08a6ab111bcbeaaa6b44c62a6ab9
üst 0b7c8569
...@@ -661,7 +661,7 @@ OUString SvxBorderLine::GetValueString( SfxMapUnit eSrcUnit, ...@@ -661,7 +661,7 @@ OUString SvxBorderLine::GetValueString( SfxMapUnit eSrcUnit,
}; };
OUString aStr = "(" + ::GetColorString( aColor ) + OUString(cpDelim); OUString aStr = "(" + ::GetColorString( aColor ) + OUString(cpDelim);
if ( m_nStyle < sizeof(aStyleIds)/sizeof(*aStyleIds) ) if ( m_nStyle < int(SAL_N_ELEMENTS(aStyleIds)) )
{ {
sal_uInt16 nResId = aStyleIds[m_nStyle]; sal_uInt16 nResId = aStyleIds[m_nStyle];
aStr += EE_RESSTR(nResId); aStr += EE_RESSTR(nResId);
......
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