summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-05-10 12:19:26 +0000
committerKurt Zenker <kz@openoffice.org>2007-05-10 12:19:26 +0000
commit707e2a0becb713cd99d4f14ef52867d562dce014 (patch)
tree446987bd587f312453b68264214f20f0b2455be3 /basctl
parentecb76ed70f03258f97965efbdd40bbd74cb39f3a (diff)
INTEGRATION: CWS pj77 (1.2.10); FILE MERGED
2007/04/25 08:34:23 pjanik 1.2.10.2: #i75708#: Even better fix from asrail. 2007/03/31 20:24:48 pjanik 1.2.10.1: #i75708#: Use sal_IntPtr for pointers.
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/scriptdocument.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx
index 460f5096da04..b6635e29a3ef 100644
--- a/basctl/source/basicide/scriptdocument.cxx
+++ b/basctl/source/basicide/scriptdocument.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: scriptdocument.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: obo $ $Date: 2007-03-15 15:59:30 $
+ * last change: $Author: kz $ $Date: 2007-05-10 13:19:26 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -921,7 +921,7 @@ namespace basctl
//--------------------------------------------------------------------
sal_Int32 ScriptDocument::hashCode() const
{
- return reinterpret_cast< sal_Int32 >( m_pImpl->getObjectShell() );
+ return sal::static_int_cast<sal_Int32>(reinterpret_cast< sal_IntPtr >( m_pImpl->getObjectShell() ));
}
//--------------------------------------------------------------------