summaryrefslogtreecommitdiff
path: root/tools/source/ref
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-15 12:00:55 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-01-15 12:39:46 +0000
commite15a997b153551a4c0e91964b5cff1b6269a9790 (patch)
tree93208827148e6df46ff6d24048ba92745124050d /tools/source/ref
parent9f62954369a5d77f976f616623495ad27be6b099 (diff)
loplugin:unusedmethods unused return value in include/tools
Change-Id: I77a6a46ca20cb41ed73050185fb2064a1bbf2009 Reviewed-on: https://gerrit.libreoffice.org/21485 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'tools/source/ref')
-rw-r--r--tools/source/ref/pstm.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/source/ref/pstm.cxx b/tools/source/ref/pstm.cxx
index 273a14b7c0fe..4e44784f7fba 100644
--- a/tools/source/ref/pstm.cxx
+++ b/tools/source/ref/pstm.cxx
@@ -461,7 +461,7 @@ SvPersistStream& SvPersistStream::WritePointer
return *this;
}
-sal_uInt32 SvPersistStream::ReadObj
+void SvPersistStream::ReadObj
(
SvPersistBase * & rpObj,
bool bRegister
@@ -503,7 +503,7 @@ sal_uInt32 SvPersistStream::ReadObj
(void)nObjLen;
#endif
SetError( ERRCODE_IO_NOFACTORY );
- return 0;
+ return;
}
pFunc( &rpObj );
// Save reference
@@ -539,7 +539,6 @@ sal_uInt32 SvPersistStream::ReadObj
DBG_ASSERT( rpObj->GetClassId() == nClassId, "class mismatch" );
}
}
- return nId;
}
SvPersistStream& SvPersistStream::ReadPointer