diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-10-05 13:45:14 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-10-05 13:45:14 +0000 |
commit | 2e4881218884eb8e46398f8d5e0044cd43f31566 (patch) | |
tree | 1ac3a886a0e6e91875826b22e95027508eba84d2 /dbaccess/source | |
parent | bb9a44526d3d0cd0463a2a3edecea52982659c2b (diff) |
INTEGRATION: CWS intptr (1.7.106); FILE MERGED
2005/09/13 14:50:23 kendy 1.7.106.1: #i54498#
Introduce and use sal_IntPtr/sal_uIntPtr for ints where we have to store a pointer
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/ui/app/AppDetailPageHelper.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.cxx b/dbaccess/source/ui/app/AppDetailPageHelper.cxx index febfd3865..36dedeb51 100644 --- a/dbaccess/source/ui/app/AppDetailPageHelper.cxx +++ b/dbaccess/source/ui/app/AppDetailPageHelper.cxx @@ -4,9 +4,9 @@ * * $RCSfile: AppDetailPageHelper.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: hr $ $Date: 2005-09-23 12:15:34 $ + * last change: $Author: kz $ $Date: 2005-10-05 14:45:14 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -516,7 +516,7 @@ sal_Bool OAppDetailPageHelper::isLeaf(SvLBoxEntry* _pEntry) const if ( nPos < CONTROL_COUNT && _pEntry ) { DBTreeListBox& rTree = *m_pLists[nPos]; - bLeafSelected = reinterpret_cast<sal_Int32>(_pEntry->GetUserData()) != FOLDER_TYPE; + bLeafSelected = reinterpret_cast<sal_IntPtr>(_pEntry->GetUserData()) != FOLDER_TYPE; } return bLeafSelected; } @@ -531,7 +531,7 @@ sal_Bool OAppDetailPageHelper::isALeafSelected() const SvLBoxEntry* pEntry = rTree.FirstSelected( ); while( !bLeafSelected && pEntry ) { - bLeafSelected = reinterpret_cast<sal_Int32>(pEntry->GetUserData()) != FOLDER_TYPE; + bLeafSelected = reinterpret_cast<sal_IntPtr>(pEntry->GetUserData()) != FOLDER_TYPE; pEntry = rTree.NextSelected(pEntry); } } |