diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-09 15:56:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-09 15:56:24 +0100 |
commit | 92c2db2414ecc64836590baa2c7d7342e3b32ce5 (patch) | |
tree | b5c2675de891a251a245aef1eb3c152d0f4d3836 /editeng | |
parent | b2043b3585729abd6b29ca8a7797a54223021415 (diff) |
bah, missing CTL element
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/eertfpar.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/eertfpar.cxx b/editeng/source/editeng/eertfpar.cxx index b65ffe52c547..e820c4fa57b6 100644 --- a/editeng/source/editeng/eertfpar.cxx +++ b/editeng/source/editeng/eertfpar.cxx @@ -326,7 +326,7 @@ void EditRTFParser::SetAttrInDoc( SvxRTFItemStackType &rSet ) if (eDestUnit != eSrcUnit) { sal_uInt16 aFntHeightIems[3] = { EE_CHAR_FONTHEIGHT, EE_CHAR_FONTHEIGHT_CJK, EE_CHAR_FONTHEIGHT_CTL }; - for (int i = 0; i < 2; ++i) + for (size_t i = 0; i < SAL_N_ELEMENTS(aFntHeightIems); ++i) { if (SFX_ITEM_SET == rSet.GetAttrSet().GetItemState( aFntHeightIems[i], sal_False, &pItem )) { |