diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-13 12:06:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-13 12:16:23 +0200 |
commit | 8a43ba529a9cd5ba7658334f9546f978175921ab (patch) | |
tree | 341989675bc88cec3bd5cea0f1192e61b56255c3 /ucb/source/ucp/hierarchy | |
parent | c263b4ae5fa9f56199129febeeea74a036535cc2 (diff) |
loplugin:unusedmethods unused return value in ucb/
Change-Id: Ib988c919a21f58b7dc302810ec6c63534a51f382
Diffstat (limited to 'ucb/source/ucp/hierarchy')
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchycontent.cxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchycontent.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/hierarchy/hierarchycontent.cxx b/ucb/source/ucp/hierarchy/hierarchycontent.cxx index 4260e7fffa5f..1961ff559784 100644 --- a/ucb/source/ucp/hierarchy/hierarchycontent.cxx +++ b/ucb/source/ucp/hierarchy/hierarchycontent.cxx @@ -694,13 +694,13 @@ bool HierarchyContent::storeData() } -bool HierarchyContent::renameData( +void HierarchyContent::renameData( const uno::Reference< ucb::XContentIdentifier >& xOldId, const uno::Reference< ucb::XContentIdentifier >& xNewId ) { HierarchyEntry aEntry( m_xContext, m_pProvider, xOldId->getContentIdentifier() ); - return aEntry.move( xNewId->getContentIdentifier(), + aEntry.move( xNewId->getContentIdentifier(), m_aProps.getHierarchyEntryData() ); } diff --git a/ucb/source/ucp/hierarchy/hierarchycontent.hxx b/ucb/source/ucp/hierarchy/hierarchycontent.hxx index 60740ae039ca..ff2d46cd66c8 100644 --- a/ucb/source/ucp/hierarchy/hierarchycontent.hxx +++ b/ucb/source/ucp/hierarchy/hierarchycontent.hxx @@ -143,7 +143,7 @@ private: const css::uno::Reference< css::ucb::XContentIdentifier >& Identifier, HierarchyContentProperties& rProps ); bool storeData(); - bool renameData( const css::uno::Reference< css::ucb::XContentIdentifier >& xOldId, + void renameData( const css::uno::Reference< css::ucb::XContentIdentifier >& xOldId, const css::uno::Reference< css::ucb::XContentIdentifier >& xNewId ); bool removeData(); |