summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-02-25 21:47:33 +0100
committerMatúš Kukan <matus.kukan@collabora.com>2014-03-06 12:36:22 +0100
commitdcae0509135c2067635ae3cf84b05dc9fb3d2d02 (patch)
treebf27a61ace258b814b37e3cfc9980e047e9f4d4c /ucb/source
parent0b27253aff771e104a9fd5d17595b205b2fc39fd (diff)
Build webdav based on serf if neon is disabled.
Change-Id: I0cbb89c8d5ac65eda8bb21aaf0d07996a015d281
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/webdav/ContentProperties.hxx4
-rw-r--r--ucb/source/ucp/webdav/PropertyMap.hxx4
-rw-r--r--ucb/source/ucp/webdav/webdavcontent.cxx4
-rw-r--r--ucb/source/ucp/webdav/webdavresponseparser.cxx4
-rw-r--r--ucb/source/ucp/webdav/webdavservices.cxx10
5 files changed, 9 insertions, 17 deletions
diff --git a/ucb/source/ucp/webdav/ContentProperties.hxx b/ucb/source/ucp/webdav/ContentProperties.hxx
index 286a699d9fc3..374ad4652748 100644
--- a/ucb/source/ucp/webdav/ContentProperties.hxx
+++ b/ucb/source/ucp/webdav/ContentProperties.hxx
@@ -24,7 +24,7 @@
#include <memory>
#include <vector>
-#include <unordered_map>
+#include <boost/unordered_map.hpp>
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx>
@@ -82,7 +82,7 @@ public:
};
-typedef std::unordered_map
+typedef boost::unordered_map
<
OUString,
PropertyValue,
diff --git a/ucb/source/ucp/webdav/PropertyMap.hxx b/ucb/source/ucp/webdav/PropertyMap.hxx
index c1ec9828eeec..bc61ebfb8831 100644
--- a/ucb/source/ucp/webdav/PropertyMap.hxx
+++ b/ucb/source/ucp/webdav/PropertyMap.hxx
@@ -22,7 +22,7 @@
#ifndef _WEBDAV_UCP_PROPERTYMAP_HXX
#define _WEBDAV_UCP_PROPERTYMAP_HXX
-#include <unordered_set>
+#include <boost/unordered_set.hpp>
#include <com/sun/star/beans/Property.hpp>
namespace http_dav_ucp {
@@ -46,7 +46,7 @@ struct hashPropertyName
}
};
-typedef std::unordered_set
+typedef boost::unordered_set
<
::com::sun::star::beans::Property,
hashPropertyName,
diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx
index 8c1b5269ab7b..ad60a93900b1 100644
--- a/ucb/source/ucp/webdav/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav/webdavcontent.cxx
@@ -285,7 +285,7 @@ void SAL_CALL Content::release()
// virtual
uno::Any SAL_CALL Content::queryInterface( const uno::Type & rType )
- throw ( uno::RuntimeException )
+ throw ( uno::RuntimeException, std::exception )
{
// Note: isFolder may require network activities! So call it only
// if it is really necessary!!!
@@ -341,7 +341,7 @@ XTYPEPROVIDER_COMMON_IMPL( Content );
// virtual
uno::Sequence< uno::Type > SAL_CALL Content::getTypes()
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
sal_Bool bFolder = sal_False;
try
diff --git a/ucb/source/ucp/webdav/webdavresponseparser.cxx b/ucb/source/ucp/webdav/webdavresponseparser.cxx
index 8be333a1be34..cb9535b544ca 100644
--- a/ucb/source/ucp/webdav/webdavresponseparser.cxx
+++ b/ucb/source/ucp/webdav/webdavresponseparser.cxx
@@ -28,7 +28,7 @@
#include <com/sun/star/ucb/LockScope.hpp>
#include <com/sun/star/ucb/LockType.hpp>
#include <map>
-#include <unordered_map>
+#include <boost/unordered_map.hpp>
@@ -94,7 +94,7 @@ namespace
WebDAVName StrToWebDAVName(const OUString& rStr)
{
- typedef std::unordered_map< OUString, WebDAVName, OUStringHash > WebDAVNameMapper;
+ typedef boost::unordered_map< OUString, WebDAVName, OUStringHash > WebDAVNameMapper;
typedef std::pair< OUString, WebDAVName > WebDAVNameValueType;
static WebDAVNameMapper aWebDAVNameMapperList;
diff --git a/ucb/source/ucp/webdav/webdavservices.cxx b/ucb/source/ucp/webdav/webdavservices.cxx
index 4b85a977d73f..47509dd326fe 100644
--- a/ucb/source/ucp/webdav/webdavservices.cxx
+++ b/ucb/source/ucp/webdav/webdavservices.cxx
@@ -25,15 +25,7 @@
using namespace com::sun::star;
-
-extern "C" void SAL_CALL component_getImplementationEnvironment(
- const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
-{
- *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
-}
-
-
-extern "C" void * SAL_CALL component_getFactory(
+extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucpdav1_component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
{
void * pRet = 0;