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
commitf06fca80cdf28e70839916e38bd08f7575b79a3e (patch)
tree8327acbec1788a935772a77d1cc3ebbc8d0b8da1 /ucb/source
parentb7c82daa28526c566047e158ab2ace522fc442dc (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 f1e2b0347634..fba64800ca51 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 a9f94f0768e0..1cfbf45be180 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 aae23c0adf18..fc9f1c676eeb 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 84eabe6f5b37..b15cf057fbf2 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 bd8ed490fb8d..9dba9f166565 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 ) )