summaryrefslogtreecommitdiff
path: root/tools/source/ref
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-05-04 23:01:46 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-05-05 11:10:18 -0400
commit8f555e3be27768a7a9a80b5ce4cba95ea1cd2880 (patch)
tree38d3bea2b3af97e3666ed1eca3f1a1268f5d7c71 /tools/source/ref
parente7dc75ace3ba42d8f7f4736bac66a218cec5f39e (diff)
Use signed 32-bit integer as class IDs.
To allow UNO field type values to be used. Change-Id: If03d3f37cf5b050fe080771c799c3e82c0264a4a
Diffstat (limited to 'tools/source/ref')
-rw-r--r--tools/source/ref/pstm.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/ref/pstm.cxx b/tools/source/ref/pstm.cxx
index cba50700c7be..966aaace7ac2 100644
--- a/tools/source/ref/pstm.cxx
+++ b/tools/source/ref/pstm.cxx
@@ -37,7 +37,7 @@
/************************************************************************
|* SvClassManager::Register()
*************************************************************************/
-void SvClassManager::Register( sal_uInt16 nClassId, SvCreateInstancePersist pFunc )
+void SvClassManager::Register( sal_Int32 nClassId, SvCreateInstancePersist pFunc )
{
#ifdef DBG_UTIL
SvCreateInstancePersist p;
@@ -50,7 +50,7 @@ void SvClassManager::Register( sal_uInt16 nClassId, SvCreateInstancePersist pFun
/************************************************************************
|* SvClassManager::Get()
*************************************************************************/
-SvCreateInstancePersist SvClassManager::Get( sal_uInt16 nClassId )
+SvCreateInstancePersist SvClassManager::Get( sal_Int32 nClassId )
{
Map::const_iterator i(aAssocTable.find(nClassId));
return i == aAssocTable.end() ? 0 : i->second;