summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/source/memtools/unqidx.cxx2
-rw-r--r--tools/source/ref/pstm.cxx2
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/source/memtools/unqidx.cxx b/tools/source/memtools/unqidx.cxx
index 7a2091601e5c..e42498867c84 100644
--- a/tools/source/memtools/unqidx.cxx
+++ b/tools/source/memtools/unqidx.cxx
@@ -19,6 +19,8 @@
#include <tools/unqidx.hxx>
+UniqueIndexImpl::Index const UniqueIndexImpl::IndexNotFound(SAL_MAX_UINT32);
+
UniqueIndexImpl::Index UniqueIndexImpl::Insert( void* p )
{
// NULL-Pointer not allowed
diff --git a/tools/source/ref/pstm.cxx b/tools/source/ref/pstm.cxx
index 6c1015fc172f..4bd0d80bd1e0 100644
--- a/tools/source/ref/pstm.cxx
+++ b/tools/source/ref/pstm.cxx
@@ -422,7 +422,7 @@ SvPersistStream& SvPersistStream::WritePointer
aPTable[ pObj ] = nId;
nP |= P_OBJ;
}
- WriteId( *this, nP, nId, pObj->GetClassId() );
+ WriteId( *this, nP, (sal_uInt32)nId, pObj->GetClassId() );
if( nP & P_OBJ )
WriteObj( nP, pObj );
}