diff options
Diffstat (limited to 'ucb/source/ucp/package/pkgcontentcaps.cxx')
-rwxr-xr-x[-rw-r--r--] | ucb/source/ucp/package/pkgcontentcaps.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ucb/source/ucp/package/pkgcontentcaps.cxx b/ucb/source/ucp/package/pkgcontentcaps.cxx index 88807d900275..b15cf057fbf2 100644..100755 --- a/ucb/source/ucp/package/pkgcontentcaps.cxx +++ b/ucb/source/ucp/package/pkgcontentcaps.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -66,6 +67,7 @@ #include <com/sun/star/ucb/OpenCommandArgument2.hpp> #include <com/sun/star/ucb/TransferInfo.hpp> #include <com/sun/star/uno/Sequence.hxx> +#include <sal/macros.h> #include "pkgcontent.hxx" using namespace com::sun::star; @@ -78,10 +80,10 @@ using namespace package_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 ) ) //========================================================================= // @@ -560,3 +562,5 @@ uno::Sequence< ucb::CommandInfo > Content::getCommands( return MAKECMDSEQUENCE( aStreamCommandInfoTable ); } } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |