diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-18 13:24:49 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-19 06:40:56 +0000 |
commit | 239cba2b06bc7894270aa68e381cc06a9d52773c (patch) | |
tree | 94bc3fc67219148f5b8d01b95fd7043fb75ae01d /ucb | |
parent | 581e4da5847733a0e87d5ff9cd1c9f2b9fa471fe (diff) |
loplugin:unusedmethods in ucb/ucbhelper
Change-Id: I2935904e2cbecec6c928f4cbc88979bc2d1a40f8
Reviewed-on: https://gerrit.libreoffice.org/25090
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/cacher/contentresultsetwrapper.hxx | 5 | ||||
-rw-r--r-- | ucb/source/ucp/file/shell.hxx | 1 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpcontent.cxx | 1 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpstrcont.hxx | 62 | ||||
-rw-r--r-- | ucb/source/ucp/ftp/ftpurl.cxx | 1 | ||||
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchyuri.hxx | 1 | ||||
-rw-r--r-- | ucb/source/ucp/package/pkguri.hxx | 1 | ||||
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_stgelems.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_uri.hxx | 1 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx | 1 |
10 files changed, 0 insertions, 76 deletions
diff --git a/ucb/source/cacher/contentresultsetwrapper.hxx b/ucb/source/cacher/contentresultsetwrapper.hxx index 65cdd071291f..fb672fca3c1b 100644 --- a/ucb/source/cacher/contentresultsetwrapper.hxx +++ b/ucb/source/cacher/contentresultsetwrapper.hxx @@ -57,11 +57,6 @@ protected: osl::Mutex* pT; public: - ReacquireableGuard(osl::Mutex * t) : pT(t) - { - pT->acquire(); - } - ReacquireableGuard(osl::Mutex& t) : pT(&t) { pT->acquire(); diff --git a/ucb/source/ucp/file/shell.hxx b/ucb/source/ucp/file/shell.hxx index cf45e64e0e92..3408ad017bf5 100644 --- a/ucb/source/ucp/file/shell.hxx +++ b/ucb/source/ucp/file/shell.hxx @@ -87,7 +87,6 @@ namespace fileaccess { css::beans::PropertyState State; sal_Int16 Attributes; public: - MyProperty(); explicit MyProperty( const OUString& thePropertyName ); MyProperty( bool theIsNative, const OUString& thePropertyName, diff --git a/ucb/source/ucp/ftp/ftpcontent.cxx b/ucb/source/ucp/ftp/ftpcontent.cxx index 42b40b09a56a..0e1222dcc674 100644 --- a/ucb/source/ucp/ftp/ftpcontent.cxx +++ b/ucb/source/ucp/ftp/ftpcontent.cxx @@ -33,7 +33,6 @@ #include "ftpdirp.hxx" #include "ftpcontentidentifier.hxx" #include "ftpcfunc.hxx" -#include "ftpstrcont.hxx" #include "ftpintreq.hxx" #include <memory> diff --git a/ucb/source/ucp/ftp/ftpstrcont.hxx b/ucb/source/ucp/ftp/ftpstrcont.hxx deleted file mode 100644 index 44fda8f230b3..000000000000 --- a/ucb/source/ucp/ftp/ftpstrcont.hxx +++ /dev/null @@ -1,62 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -/************************************************************************** - TODO - ************************************************************************** - - *************************************************************************/ -#ifndef INCLUDED_UCB_SOURCE_UCP_FTP_FTPSTRCONT_HXX -#define INCLUDED_UCB_SOURCE_UCP_FTP_FTPSTRCONT_HXX - -#include <com/sun/star/io/XInputStream.hpp> -#include <com/sun/star/io/XOutputStream.hpp> -#include "ftpcfunc.hxx" - - -namespace ftp { - - class FTPInputStream; - - class FTPOutputStreamContainer - : public FTPStreamContainer - { - public: - explicit FTPOutputStreamContainer(const css::uno::Reference< - css::io::XOutputStream>& out); - - virtual ~FTPOutputStreamContainer() {} - }; - - - class FTPInputStreamContainer - : public FTPStreamContainer - { - public: - explicit FTPInputStreamContainer(FTPInputStream* out); - - virtual ~FTPInputStreamContainer() {} - }; - -} - - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx index 9f2ffceb05f3..6c33c81a9b19 100644 --- a/ucb/source/ucp/ftp/ftpurl.cxx +++ b/ucb/source/ucp/ftp/ftpurl.cxx @@ -33,7 +33,6 @@ #include <string.h> #include <rtl/uri.hxx> -#include "ftpstrcont.hxx" #include "ftpurl.hxx" #include "ftpcontentprovider.hxx" #include "ftpcfunc.hxx" diff --git a/ucb/source/ucp/hierarchy/hierarchyuri.hxx b/ucb/source/ucp/hierarchy/hierarchyuri.hxx index 24dfb05f47c5..388a3055302d 100644 --- a/ucb/source/ucp/hierarchy/hierarchyuri.hxx +++ b/ucb/source/ucp/hierarchy/hierarchyuri.hxx @@ -42,7 +42,6 @@ private: void init() const; public: - HierarchyUri() : m_bValid( false ) {} explicit HierarchyUri( const OUString & rUri ) : m_aUri( rUri ), m_bValid( false ) {} diff --git a/ucb/source/ucp/package/pkguri.hxx b/ucb/source/ucp/package/pkguri.hxx index b66bae008b5a..605e53933827 100644 --- a/ucb/source/ucp/package/pkguri.hxx +++ b/ucb/source/ucp/package/pkguri.hxx @@ -45,7 +45,6 @@ private: void init() const; public: - PackageUri() : m_bValid( false ) {} explicit PackageUri( const OUString & rPackageUri ) : m_aUri( rPackageUri ), m_bValid( false ) {} diff --git a/ucb/source/ucp/tdoc/tdoc_stgelems.hxx b/ucb/source/ucp/tdoc/tdoc_stgelems.hxx index d71ccf4384b4..10058edbe0f7 100644 --- a/ucb/source/ucp/tdoc/tdoc_stgelems.hxx +++ b/ucb/source/ucp/tdoc/tdoc_stgelems.hxx @@ -269,8 +269,6 @@ public: css::uno::RuntimeException, std::exception ) override; private: - explicit Storage( const rtl::Reference< Storage > & rFactory ); // n.i. - rtl::Reference< StorageElementFactory > m_xFactory; css::uno::Reference< css::uno::XAggregation > m_xAggProxy; css::uno::Reference< css::embed::XStorage > m_xWrappedStorage; diff --git a/ucb/source/ucp/tdoc/tdoc_uri.hxx b/ucb/source/ucp/tdoc/tdoc_uri.hxx index 4d1c671e1a4b..10b861b19512 100644 --- a/ucb/source/ucp/tdoc/tdoc_uri.hxx +++ b/ucb/source/ucp/tdoc/tdoc_uri.hxx @@ -46,7 +46,6 @@ private: void init() const; public: - Uri() : m_eState( UNKNOWN ) {} explicit Uri( const OUString & rUri ) : m_aUri( rUri ), m_eState( UNKNOWN ) {} diff --git a/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx b/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx index 2b36a1322145..43392b92558c 100644 --- a/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx +++ b/ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx @@ -64,7 +64,6 @@ class DAVResourceAccess std::vector< NeonUri > m_aRedirectURIs; public: - DAVResourceAccess() : m_xSessionFactory( nullptr ) {} DAVResourceAccess( const css::uno::Reference< css::uno::XComponentContext > & rxContext, rtl::Reference< DAVSessionFactory > const & rSessionFactory, const OUString & rURL ); |