summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav-neon
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/webdav-neon')
-rw-r--r--ucb/source/ucp/webdav-neon/ContentProperties.cxx8
-rw-r--r--ucb/source/ucp/webdav-neon/DAVAuthListenerImpl.hxx7
-rw-r--r--ucb/source/ucp/webdav-neon/DAVException.hxx1
-rw-r--r--ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx10
-rw-r--r--ucb/source/ucp/webdav-neon/LinkSequence.cxx1
-rw-r--r--ucb/source/ucp/webdav-neon/LockEntrySequence.cxx1
-rw-r--r--ucb/source/ucp/webdav-neon/PropertyMap.hxx1
-rw-r--r--ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.cxx1
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.cxx19
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.hxx2
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx4
-rw-r--r--ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx10
-rw-r--r--ucb/source/ucp/webdav-neon/webdavprovider.cxx12
-rw-r--r--ucb/source/ucp/webdav-neon/webdavprovider.hxx2
-rw-r--r--ucb/source/ucp/webdav-neon/webdavresultset.cxx6
-rw-r--r--ucb/source/ucp/webdav-neon/webdavservices.cxx1
16 files changed, 0 insertions, 86 deletions
diff --git a/ucb/source/ucp/webdav-neon/ContentProperties.cxx b/ucb/source/ucp/webdav-neon/ContentProperties.cxx
index f7f97309dae7..1b1bb43ad4d4 100644
--- a/ucb/source/ucp/webdav-neon/ContentProperties.cxx
+++ b/ucb/source/ucp/webdav-neon/ContentProperties.cxx
@@ -80,13 +80,9 @@ Important: HTTP headers will not be mapped to DAV properties; only to UCB
*/
-
-
// ContentProperties Implementation.
-
-
// static member!
uno::Any ContentProperties::m_aEmptyAny;
@@ -520,13 +516,9 @@ void ContentProperties::addProperty( const OUString & rName,
}
-
-
// CachableContentProperties Implementation.
-
-
namespace
{
bool isCachable( OUString const & rName,
diff --git a/ucb/source/ucp/webdav-neon/DAVAuthListenerImpl.hxx b/ucb/source/ucp/webdav-neon/DAVAuthListenerImpl.hxx
index 36a902cd1fea..d40b8ae8dfc1 100644
--- a/ucb/source/ucp/webdav-neon/DAVAuthListenerImpl.hxx
+++ b/ucb/source/ucp/webdav-neon/DAVAuthListenerImpl.hxx
@@ -37,16 +37,9 @@ namespace webdav_ucp
{
-
-
-
-
// class DAVAuthListenerImpl.
-
-
-
class DAVAuthListener_Impl : public DAVAuthListener
{
public:
diff --git a/ucb/source/ucp/webdav-neon/DAVException.hxx b/ucb/source/ucp/webdav-neon/DAVException.hxx
index b2f878eb9fef..6abf981e0047 100644
--- a/ucb/source/ucp/webdav-neon/DAVException.hxx
+++ b/ucb/source/ucp/webdav-neon/DAVException.hxx
@@ -102,7 +102,6 @@ const sal_uInt16 SC_HTTP_VERSION_NOT_SUPPORTED = 505;
const sal_uInt16 SC_INSUFFICIENT_STORAGE = 507;
-
class DAVException : public std::exception
{
public:
diff --git a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx
index 2079fbd9f893..7395bd2bb76a 100644
--- a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx
+++ b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx
@@ -43,14 +43,9 @@ using namespace webdav_ucp;
using namespace com::sun::star;
-
-
// DAVAuthListener_Impl Implementation.
-
-
-
// virtual
int DAVAuthListener_Impl::authenticate(
const OUString & inRealm,
@@ -130,14 +125,9 @@ int DAVAuthListener_Impl::authenticate(
}
-
-
// DAVResourceAccess Implementation.
-
-
-
DAVResourceAccess::DAVResourceAccess(
const uno::Reference< uno::XComponentContext > & rxContext,
rtl::Reference< DAVSessionFactory > const & rSessionFactory,
diff --git a/ucb/source/ucp/webdav-neon/LinkSequence.cxx b/ucb/source/ucp/webdav-neon/LinkSequence.cxx
index b75fee4b5f9b..2551fa53cfd7 100644
--- a/ucb/source/ucp/webdav-neon/LinkSequence.cxx
+++ b/ucb/source/ucp/webdav-neon/LinkSequence.cxx
@@ -36,7 +36,6 @@ using namespace webdav_ucp;
using namespace com::sun::star;
-
struct LinkSequenceParseContext
{
ucb::Link * pLink;
diff --git a/ucb/source/ucp/webdav-neon/LockEntrySequence.cxx b/ucb/source/ucp/webdav-neon/LockEntrySequence.cxx
index 2f7ac4182804..d27f6b212924 100644
--- a/ucb/source/ucp/webdav-neon/LockEntrySequence.cxx
+++ b/ucb/source/ucp/webdav-neon/LockEntrySequence.cxx
@@ -35,7 +35,6 @@ using namespace webdav_ucp;
using namespace com::sun::star;
-
struct LockEntrySequenceParseContext
{
ucb::LockEntry * pEntry;
diff --git a/ucb/source/ucp/webdav-neon/PropertyMap.hxx b/ucb/source/ucp/webdav-neon/PropertyMap.hxx
index 27def70db167..c0c31bb410d4 100644
--- a/ucb/source/ucp/webdav-neon/PropertyMap.hxx
+++ b/ucb/source/ucp/webdav-neon/PropertyMap.hxx
@@ -36,7 +36,6 @@
namespace webdav_ucp {
-
struct equalPropertyName
{
bool operator()( const css::beans::Property & p1,
diff --git a/ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.cxx b/ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.cxx
index 22acd274610b..f312d50df046 100644
--- a/ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.cxx
+++ b/ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.cxx
@@ -37,7 +37,6 @@ using namespace webdav_ucp;
using namespace com::sun::star;
-
struct UCBDeadPropertyValueParseContext
{
OUString * pType;
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index b68dc64f3119..e0eeeeaac6eb 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -96,9 +96,6 @@ using namespace webdav_ucp;
// Content Implementation.
-
-
-
// ctr for content on an existing webdav resource
Content::Content(
const uno::Reference< uno::XComponentContext >& rxContext,
@@ -168,11 +165,9 @@ Content::~Content()
}
-
// XInterface methods.
-
// virtual
void SAL_CALL Content::acquire()
throw( )
@@ -230,11 +225,9 @@ uno::Any SAL_CALL Content::queryInterface( const uno::Type & rType )
}
-
// XTypeProvider methods.
-
XTYPEPROVIDER_COMMON_IMPL( Content );
@@ -328,11 +321,9 @@ uno::Sequence< uno::Type > SAL_CALL Content::getTypes()
}
-
// XServiceInfo methods.
-
// virtual
OUString SAL_CALL Content::getImplementationName()
throw( uno::RuntimeException, std::exception )
@@ -350,11 +341,9 @@ uno::Sequence< OUString > SAL_CALL Content::getSupportedServiceNames()
}
-
// XContent methods.
-
// virtual
OUString SAL_CALL Content::getContentType()
throw( uno::RuntimeException, std::exception )
@@ -380,11 +369,9 @@ OUString SAL_CALL Content::getContentType()
}
-
// XCommandProcessor methods.
-
// virtual
uno::Any SAL_CALL Content::execute(
const ucb::Command& aCommand,
@@ -754,11 +741,9 @@ void SAL_CALL Content::abort( sal_Int32 /*CommandId*/ )
}
-
// XPropertyContainer methods.
-
void Content::addProperty( const ucb::PropertyCommandArgument& aCmdArg,
const uno::Reference< ucb::XCommandEnvironment >& xEnv )
throw( beans::PropertyExistException,
@@ -1014,11 +999,9 @@ void SAL_CALL Content::removeProperty( const OUString& Name )
}
-
// XContentCreator methods.
-
// virtual
uno::Sequence< ucb::ContentInfo > SAL_CALL
Content::queryCreatableContentsInfo()
@@ -1135,11 +1118,9 @@ OUString Content::getParentURL()
}
-
// Non-interface methods.
-
// static
uno::Reference< sdbc::XRow > Content::getPropertyValues(
const uno::Reference< uno::XComponentContext >& rxContext,
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.hxx b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
index 90a57e5611db..0dc43b5dee03 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx
@@ -63,12 +63,10 @@ namespace webdav_ucp
{
-
// UNO service name for the content.
#define WEBDAV_CONTENT_SERVICE_NAME "com.sun.star.ucb.WebDAVContent"
-
class ContentProvider;
class ContentProperties;
class CachableContentProperties;
diff --git a/ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx b/ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx
index 03f309a00d3c..10b4cec3555e 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx
@@ -57,11 +57,9 @@ using namespace com::sun::star;
using namespace webdav_ucp;
-
// ContentProvider implementation.
-
bool ContentProvider::getProperty(
const OUString & rPropName, beans::Property & rProp, bool bStrict )
{
@@ -286,11 +284,9 @@ bool ContentProvider::getProperty(
}
-
// Content implementation.
-
// virtual
uno::Sequence< beans::Property > Content::getProperties(
const uno::Reference< ucb::XCommandEnvironment > & xEnv )
diff --git a/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx b/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx
index c3b4e04826a1..ab883d519720 100644
--- a/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx
@@ -53,11 +53,9 @@ namespace webdav_ucp
{
-
// struct ResultListEntry.
-
struct ResultListEntry
{
OUString aId;
@@ -72,19 +70,15 @@ struct ResultListEntry
};
-
// ResultList.
-
typedef std::vector<std::unique_ptr<ResultListEntry>> ResultList;
-
// struct DataSupplier_Impl.
-
struct DataSupplier_Impl
{
osl::Mutex m_aMutex;
@@ -106,13 +100,9 @@ struct DataSupplier_Impl
}
-
-
// DataSupplier Implementation.
-
-
DataSupplier::DataSupplier(
const uno::Reference< uno::XComponentContext >& rxContext,
const rtl::Reference< Content >& rContent,
diff --git a/ucb/source/ucp/webdav-neon/webdavprovider.cxx b/ucb/source/ucp/webdav-neon/webdavprovider.cxx
index caeeac3d5b76..be6b50406832 100644
--- a/ucb/source/ucp/webdav-neon/webdavprovider.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavprovider.cxx
@@ -43,13 +43,9 @@ using namespace com::sun::star;
using namespace webdav_ucp;
-
-
// ContentProvider Implementation.
-
-
ContentProvider::ContentProvider(
const uno::Reference< uno::XComponentContext >& rxContext )
: ::ucbhelper::ContentProviderImplHelper( rxContext ),
@@ -66,7 +62,6 @@ ContentProvider::~ContentProvider()
}
-
// XInterface methods.
void SAL_CALL ContentProvider::acquire()
@@ -95,36 +90,29 @@ css::uno::Any SAL_CALL ContentProvider::queryInterface( const css::uno::Type & r
// XTypeProvider methods.
-
XTYPEPROVIDER_IMPL_3( ContentProvider,
lang::XTypeProvider,
lang::XServiceInfo,
ucb::XContentProvider );
-
// XServiceInfo methods.
-
XSERVICEINFO_IMPL_1_CTX( ContentProvider,
OUString( "com.sun.star.comp.WebDAVContentProvider" ),
WEBDAV_CONTENT_PROVIDER_SERVICE_NAME );
-
// Service factory implementation.
-
ONE_INSTANCE_SERVICE_FACTORY_IMPL( ContentProvider );
-
// XContentProvider methods.
-
// virtual
uno::Reference< ucb::XContent > SAL_CALL
ContentProvider::queryContent(
diff --git a/ucb/source/ucp/webdav-neon/webdavprovider.hxx b/ucb/source/ucp/webdav-neon/webdavprovider.hxx
index bdf929a18cdf..2cb16a4fc899 100644
--- a/ucb/source/ucp/webdav-neon/webdavprovider.hxx
+++ b/ucb/source/ucp/webdav-neon/webdavprovider.hxx
@@ -39,7 +39,6 @@
namespace webdav_ucp {
-
// UNO service name for the provider. This name will be used by the UCB to
// create instances of the provider.
#define WEBDAV_CONTENT_PROVIDER_SERVICE_NAME "com.sun.star.ucb.WebDAVContentProvider"
@@ -71,7 +70,6 @@ namespace webdav_ucp {
#define WEBDAV_COLLECTION_TYPE "application/" WEBDAV_URL_SCHEME "-collection"
-
class ContentProvider : public ::ucbhelper::ContentProviderImplHelper
{
rtl::Reference< DAVSessionFactory > m_xDAVSessionFactory;
diff --git a/ucb/source/ucp/webdav-neon/webdavresultset.cxx b/ucb/source/ucp/webdav-neon/webdavresultset.cxx
index 53a7bbd7af55..a4135564fb1b 100644
--- a/ucb/source/ucp/webdav-neon/webdavresultset.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavresultset.cxx
@@ -43,13 +43,9 @@ using namespace com::sun::star;
using namespace webdav_ucp;
-
-
// DynamicResultSet Implementation.
-
-
DynamicResultSet::DynamicResultSet(
const uno::Reference< uno::XComponentContext >& rxContext,
const rtl::Reference< Content >& rxContent,
@@ -62,11 +58,9 @@ DynamicResultSet::DynamicResultSet(
}
-
// Non-interface methods.
-
void DynamicResultSet::initStatic()
{
m_xResultSet1
diff --git a/ucb/source/ucp/webdav-neon/webdavservices.cxx b/ucb/source/ucp/webdav-neon/webdavservices.cxx
index cd3468788fe5..3645824e4c68 100644
--- a/ucb/source/ucp/webdav-neon/webdavservices.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavservices.cxx
@@ -55,7 +55,6 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucpdav1_component_getFactory(
}
-
if ( xFactory.is() )
{
xFactory->acquire();