[Libreoffice-commits] .: writerfilter/source
Miklos Vajna
vmiklos at kemper.freedesktop.org
Tue Feb 28 01:09:09 PST 2012
writerfilter/source/rtftok/rtfdocumentimpl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f31548f70c85a83fe820c6ae1c9b9803074039b0
Author: Miklos Vajna <vmiklos at suse.cz>
Date: Tue Feb 28 10:06:29 2012 +0100
RTFFrame::getSprms: use SAL_N_ELEMENTS()
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index f293bf6..f388ec8 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -3496,7 +3496,7 @@ RTFSprms RTFFrame::getSprms()
NS_ooxml::LN_CT_FramePr_lines
};
- for ( int i = 0, len = sizeof( pNames ) / sizeof( Id ); i < len; ++i )
+ for ( int i = 0, len = SAL_N_ELEMENTS(pNames); i < len; ++i )
{
Id aId = pNames[i];
RTFValue::Pointer_t pValue;
More information about the Libreoffice-commits
mailing list