diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-21 16:03:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-22 07:39:44 +0100 |
commit | 131cc96a890b8988703532d09773bb0bde20ee8a (patch) | |
tree | e89c868180690503c9e8b0de1f60f9686dd2fa61 /ucb/source/ucp | |
parent | 10134a2f8b604c934676e9e622d8123862a0b941 (diff) |
loplugin:unusedfields in ucb,ucbhelper
Change-Id: Id15c92e54669bd5f26adfe0d0b9dda0e8894ccf3
Reviewed-on: https://gerrit.libreoffice.org/68161
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/ucp')
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchyuri.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchyuri.hxx | 1 | ||||
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_uri.cxx | 9 | ||||
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_uri.hxx | 2 |
4 files changed, 0 insertions, 14 deletions
diff --git a/ucb/source/ucp/hierarchy/hierarchyuri.cxx b/ucb/source/ucp/hierarchy/hierarchyuri.cxx index 8b7402d22dac..6bd2fc5952f1 100644 --- a/ucb/source/ucp/hierarchy/hierarchyuri.cxx +++ b/ucb/source/ucp/hierarchy/hierarchyuri.cxx @@ -46,7 +46,6 @@ void HierarchyUri::init() const // Note: Maybe it's a re-init, setUri only resets m_aPath! m_aService.clear(); m_aParentUri.clear(); - m_aName.clear(); // URI must match at least: <sheme>: if ( m_aUri.getLength() < HIERARCHY_URL_SCHEME_LENGTH + 1 ) @@ -165,7 +164,6 @@ void HierarchyUri::init() const ( nLastSlash != m_aUri.getLength() - 1 ) ) // root { m_aParentUri = m_aUri.copy( 0, nLastSlash ); - m_aName = m_aUri.copy( nLastSlash + 1 ); } // success diff --git a/ucb/source/ucp/hierarchy/hierarchyuri.hxx b/ucb/source/ucp/hierarchy/hierarchyuri.hxx index 4e67db7751ed..12973a9c3326 100644 --- a/ucb/source/ucp/hierarchy/hierarchyuri.hxx +++ b/ucb/source/ucp/hierarchy/hierarchyuri.hxx @@ -35,7 +35,6 @@ class HierarchyUri mutable OUString m_aParentUri; mutable OUString m_aService; mutable OUString m_aPath; - mutable OUString m_aName; mutable bool m_bValid; private: diff --git a/ucb/source/ucp/tdoc/tdoc_uri.cxx b/ucb/source/ucp/tdoc/tdoc_uri.cxx index 126ef346b202..4c65da63b2b3 100644 --- a/ucb/source/ucp/tdoc/tdoc_uri.cxx +++ b/ucb/source/ucp/tdoc/tdoc_uri.cxx @@ -105,15 +105,6 @@ void Uri::init() const m_aDocId = m_aPath.copy( 1, nSlash - 1 ); } - if ( !m_aDocId.isEmpty() ) - { - sal_Int32 nSlash = m_aPath.indexOf( '/', 1 ); - if ( nSlash != - 1 ) - m_aInternalPath = m_aPath.copy( nSlash ); - else - m_aInternalPath = "/"; - } - m_eState = VALID; } diff --git a/ucb/source/ucp/tdoc/tdoc_uri.hxx b/ucb/source/ucp/tdoc/tdoc_uri.hxx index dad3db6d5667..15e51e6e8d36 100644 --- a/ucb/source/ucp/tdoc/tdoc_uri.hxx +++ b/ucb/source/ucp/tdoc/tdoc_uri.hxx @@ -37,7 +37,6 @@ class Uri mutable OUString m_aParentUri; mutable OUString m_aPath; mutable OUString m_aDocId; - mutable OUString m_aInternalPath; mutable OUString m_aName; mutable OUString m_aDecodedName; mutable State m_eState; @@ -86,7 +85,6 @@ inline void Uri::setUri( const OUString & rUri ) m_aUri = rUri; m_aParentUri.clear(); m_aDocId.clear(); - m_aInternalPath.clear(); m_aPath.clear(); m_aName.clear(); m_aDecodedName.clear(); |