summaryrefslogtreecommitdiffstats
path: root/ucb/source/ucp/tdoc
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/tdoc')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_contentcaps.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_contentcaps.cxx b/ucb/source/ucp/tdoc/tdoc_contentcaps.cxx
index ed469afbc858..254cb27a7cd9 100644
--- a/ucb/source/ucp/tdoc/tdoc_contentcaps.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_contentcaps.cxx
@@ -77,10 +77,10 @@ using namespace tdoc_ucp;
#define MAKEPROPSEQUENCE( a ) \
- uno::Sequence< beans::Property >( a, (sizeof (a) / sizeof (a[0])) )
+ uno::Sequence< beans::Property >( a, SAL_N_ELEMENTS(a) )
#define MAKECMDSEQUENCE( a ) \
- uno::Sequence< ucb::CommandInfo >( a, (sizeof (a) / sizeof (a[0])) )
+ uno::Sequence< ucb::CommandInfo >( a, SAL_N_ELEMENTS(a) )
// IMPORTANT: If any property data ( name / type / ... ) are changed, then