summaryrefslogtreecommitdiff
path: root/tools/source/ref/pstm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/ref/pstm.cxx')
-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