diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-10-06 10:15:09 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-10-06 10:15:09 +0000 |
commit | 741be403910bfc8fc33f59e5b3e55e94bd4300b4 (patch) | |
tree | 305715153df476036ebfc2a4f20ead809768882b | |
parent | e7fe4313b91fe8740d50e1016996ae3072e04a9e (diff) |
INTEGRATION: CWS intptr (1.98.58); FILE MERGED
2005/09/13 14:51:12 kendy 1.98.58.1: #i54498#
Introduce and use sal_IntPtr/sal_uIntPtr for ints where we have to store a pointer
-rw-r--r-- | sfx2/source/doc/sfxbasemodel.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index 4c1e74f2e5ee..8f2296f94fc7 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -4,9 +4,9 @@ * * $RCSfile: sfxbasemodel.cxx,v $ * - * $Revision: 1.99 $ + * $Revision: 1.100 $ * - * last change: $Author: rt $ $Date: 2005-09-07 18:49:33 $ + * last change: $Author: kz $ $Date: 2005-10-06 11:15:09 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -3582,9 +3582,9 @@ sal_Int64 SAL_CALL SfxBaseModel::getSomething( const ::com::sun::star::uno::Sequ { SvGlobalName aName( aIdentifier ); if ( aName == SvGlobalName( SO3_GLOBAL_CLASSID ) ) - return (sal_Int64)(sal_Int32)(SvObject*)GetObjectShell(); + return (sal_Int64)(sal_IntPtr)(SvObject*)GetObjectShell(); else if ( aName == SvGlobalName( SFX_GLOBAL_CLASSID ) ) - return (sal_Int64)(sal_Int32)(SfxObjectShell*)GetObjectShell(); + return (sal_Int64)(sal_IntPtr)(SfxObjectShell*)GetObjectShell(); } return 0; |