diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-09 21:10:37 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-09 21:10:37 -0500 |
commit | 12df8f23e74cc02697f7570e5ad0ae2933440f1a (patch) | |
tree | daf2b08ea0494a2ea508b9dfa4a02a59109489bd /sw | |
parent | a606d81ea3f82645b70409e609124ffc3655b836 (diff) |
missing include for SAL_N_ELEMENTS
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/doc.hxx | 1 | ||||
-rw-r--r-- | sw/source/core/doc/fmtcol.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/unocore/unoidx.cxx | 6 | ||||
-rw-r--r-- | sw/source/filter/rtf/rtffld.cxx | 1 | ||||
-rw-r--r-- | sw/source/filter/ww8/fields.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8scan.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/frmdlg/column.cxx | 1 |
7 files changed, 10 insertions, 4 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index f2f1be3ad4..ba52f459f2 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -61,6 +61,7 @@ class SwList; #include <com/sun/star/embed/XEmbeddedObject.hpp> #include <com/sun/star/embed/XStorage.hpp> #include <vcl/timer.hxx> +#include <sal/macros.h> #include "swdllapi.h" #include <swtypes.hxx> #include <ndarr.hxx> diff --git a/sw/source/core/doc/fmtcol.cxx b/sw/source/core/doc/fmtcol.cxx index c1082da71f..ecc547db71 100644 --- a/sw/source/core/doc/fmtcol.cxx +++ b/sw/source/core/doc/fmtcol.cxx @@ -27,6 +27,8 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_sw.hxx" + +#include <sal/macros.h> #include <hintids.hxx> #include <editeng/ulspitem.hxx> #include <editeng/lrspitem.hxx> diff --git a/sw/source/core/unocore/unoidx.cxx b/sw/source/core/unocore/unoidx.cxx index affee81ff9..977b051318 100644 --- a/sw/source/core/unocore/unoidx.cxx +++ b/sw/source/core/unocore/unoidx.cxx @@ -2539,7 +2539,7 @@ static char const*const g_ServicesDocumentIndexes[] = "com.sun.star.text.DocumentIndexes", }; static const size_t g_nServicesDocumentIndexes( - SAL_N_ELEMENT(g_ServicesDocumentIndexes)); + SAL_N_ELEMENTS(g_ServicesDocumentIndexes)); sal_Bool SAL_CALL SwXDocumentIndexes::supportsService(const OUString& rServiceName) @@ -2771,7 +2771,7 @@ static char const*const g_ServicesIndexStyleAccess[] = "com.sun.star.text.DocumentIndexParagraphStyles", }; static const size_t g_nServicesIndexStyleAccess( - SAL_N_ELEMENT(g_ServicesIndexStyleAccess)); + SAL_N_ELEMENTS(g_ServicesIndexStyleAccess)); sal_Bool SAL_CALL SwXDocumentIndex::StyleAccess_Impl::supportsService( @@ -2924,7 +2924,7 @@ static char const*const g_ServicesIndexTokenAccess[] = "com.sun.star.text.DocumentIndexLevelFormat", }; static const size_t g_nServicesIndexTokenAccess( - SAL_N_ELEMENT(g_ServicesIndexTokenAccess)); + SAL_N_ELEMENTS(g_ServicesIndexTokenAccess)); sal_Bool SAL_CALL SwXDocumentIndex::TokenAccess_Impl::supportsService( diff --git a/sw/source/filter/rtf/rtffld.cxx b/sw/source/filter/rtf/rtffld.cxx index a816578957..dd23a85b2d 100644 --- a/sw/source/filter/rtf/rtffld.cxx +++ b/sw/source/filter/rtf/rtffld.cxx @@ -32,6 +32,7 @@ #include <ctype.h> #include <hintids.hxx> +#include <sal/macros.h> #include <com/sun/star/i18n/ScriptType.hdl> #include <vcl/graph.hxx> #include <svl/urihelper.hxx> diff --git a/sw/source/filter/ww8/fields.cxx b/sw/source/filter/ww8/fields.cxx index b2e28fb440..490ac37133 100644 --- a/sw/source/filter/ww8/fields.cxx +++ b/sw/source/filter/ww8/fields.cxx @@ -31,7 +31,7 @@ /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil -*- */ #include "fields.hxx" #include <errhdl.hxx> //ASSERT (use our own ww header later for asserts) - +#include <sal/macros.h> #include <stddef.h> namespace ww diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx index f9acb2ba52..52d3fa4eb1 100644 --- a/sw/source/filter/ww8/ww8scan.cxx +++ b/sw/source/filter/ww8/ww8scan.cxx @@ -36,6 +36,7 @@ #include <string.h> // memset() #include <rtl/tencinfo.h> +#include <sal/macros.h> #ifdef DUMP diff --git a/sw/source/ui/frmdlg/column.cxx b/sw/source/ui/frmdlg/column.cxx index a832101330..370b05fecb 100644 --- a/sw/source/ui/frmdlg/column.cxx +++ b/sw/source/ui/frmdlg/column.cxx @@ -45,6 +45,7 @@ #include <sfx2/dispatch.hxx> #include <vcl/msgbox.hxx> #include <swmodule.hxx> +#include <sal/macros.h> #include <helpid.h> #include "globals.hrc" |