summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2010-10-14 22:10:14 +0100
committerMichael Meeks <michael.meeks@novell.com>2010-10-14 22:10:14 +0100
commit9382c042573d431e071678df7827df7251a51f20 (patch)
treef0e8501857bbd56be5728540b4ce8c31e4d53b3b /ucb/source
parent8279868bb177cdfc07f3eeed380412616e4958db (diff)
include correct sal/macros.h header to compile.
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/ext/ucpext_content.cxx1
-rw-r--r--ucb/source/ucp/gvfs/gvfs_content.cxx3
-rw-r--r--ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx1
-rw-r--r--ucb/source/ucp/package/pkgcontentcaps.cxx1
-rw-r--r--ucb/source/ucp/tdoc/tdoc_contentcaps.cxx22
5 files changed, 16 insertions, 12 deletions
diff --git a/ucb/source/ucp/ext/ucpext_content.cxx b/ucb/source/ucp/ext/ucpext_content.cxx
index 666ceb8a9d..be43b501d8 100644
--- a/ucb/source/ucp/ext/ucpext_content.cxx
+++ b/ucb/source/ucp/ext/ucpext_content.cxx
@@ -62,6 +62,7 @@
#include <comphelper/componentcontext.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/uri.hxx>
+#include <sal/macros.h>
#include <algorithm>
diff --git a/ucb/source/ucp/gvfs/gvfs_content.cxx b/ucb/source/ucp/gvfs/gvfs_content.cxx
index 1009e2410a..c520bd3cee 100644
--- a/ucb/source/ucp/gvfs/gvfs_content.cxx
+++ b/ucb/source/ucp/gvfs/gvfs_content.cxx
@@ -32,7 +32,8 @@
#include <unistd.h>
#include <sys/types.h>
-#include "osl/time.h"
+#include <sal/macros.h>
+#include <osl/time.h>
#include <osl/diagnose.h>
#include "osl/doublecheckedlocking.h"
diff --git a/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx b/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx
index 91410b34cb..f5d0912abd 100644
--- a/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx
+++ b/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx
@@ -66,6 +66,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 "hierarchycontent.hxx"
using namespace com::sun::star;
diff --git a/ucb/source/ucp/package/pkgcontentcaps.cxx b/ucb/source/ucp/package/pkgcontentcaps.cxx
index 28bd56dad0..276e47fa50 100644
--- a/ucb/source/ucp/package/pkgcontentcaps.cxx
+++ b/ucb/source/ucp/package/pkgcontentcaps.cxx
@@ -67,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;
diff --git a/ucb/source/ucp/tdoc/tdoc_contentcaps.cxx b/ucb/source/ucp/tdoc/tdoc_contentcaps.cxx
index d8aa7e1377..dbc61176f4 100644
--- a/ucb/source/ucp/tdoc/tdoc_contentcaps.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_contentcaps.cxx
@@ -64,16 +64,16 @@
*************************************************************************/
-#include "com/sun/star/beans/Property.hpp"
-#include "com/sun/star/beans/PropertyAttribute.hpp"
-#include "com/sun/star/beans/PropertyValue.hpp"
-#include "com/sun/star/embed/XStorage.hpp"
-#include "com/sun/star/frame/XModel.hpp"
-#include "com/sun/star/ucb/CommandInfo.hpp"
-#include "com/sun/star/ucb/OpenCommandArgument2.hpp"
-#include "com/sun/star/ucb/TransferInfo.hpp"
-
-#include "tdoc_content.hxx"
+#include <com/sun/star/beans/Property.hpp>
+#include <com/sun/star/beans/PropertyAttribute.hpp>
+#include <com/sun/star/beans/PropertyValue.hpp>
+#include <com/sun/star/embed/XStorage.hpp>
+#include <com/sun/star/frame/XModel.hpp>
+#include <com/sun/star/ucb/CommandInfo.hpp>
+#include <com/sun/star/ucb/OpenCommandArgument2.hpp>
+#include <com/sun/star/ucb/TransferInfo.hpp>
+#include <sal/macros.h>
+#include <tdoc_content.hxx>
namespace com { namespace sun { namespace star { namespace embed {
class XStorage;
@@ -89,7 +89,7 @@ using namespace tdoc_ucp;
//=========================================================================
#define MAKEPROPSEQUENCE( a ) \
- uno::Sequence< beans::Property >( a, SAL_N_ELEMTS( a ) )
+ uno::Sequence< beans::Property >( a, SAL_N_ELEMENTS( a ) )
#define MAKECMDSEQUENCE( a ) \
uno::Sequence< ucb::CommandInfo >( a, SAL_N_ELEMENTS( a ) )