summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/hierarchy
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-13 12:06:54 +0200
committerNoel Grandin <noel@peralex.com>2016-01-13 12:16:23 +0200
commit8a43ba529a9cd5ba7658334f9546f978175921ab (patch)
tree341989675bc88cec3bd5cea0f1192e61b56255c3 /ucb/source/ucp/hierarchy
parentc263b4ae5fa9f56199129febeeea74a036535cc2 (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.cxx4
-rw-r--r--ucb/source/ucp/hierarchy/hierarchycontent.hxx2
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();