diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 15:03:16 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 15:03:16 +0000 |
commit | 7360b4076808f17b95adc8aaecbead9b4aa8cc7a (patch) | |
tree | fffd9c841f936606d8ddcc992f428cd5b6517020 /cppu | |
parent | 7297d59883bc1d3d5c61d5b2990d3208f9c51416 (diff) |
INTEGRATION: CWS ooo20031110 (1.13.8); FILE MERGED
2003/11/10 10:17:10 waratah 1.13.8.1: #i22301# resolve for scope issues
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/uno/prim.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cppu/source/uno/prim.hxx b/cppu/source/uno/prim.hxx index 2ef5674f901b..0f35bc059bd9 100644 --- a/cppu/source/uno/prim.hxx +++ b/cppu/source/uno/prim.hxx @@ -2,9 +2,9 @@ * * $RCSfile: prim.hxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: obo $ $Date: 2003-09-04 10:53:33 $ + * last change: $Author: rt $ $Date: 2003-12-01 16:03:16 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -219,10 +219,11 @@ inline typelib_TypeDescriptionReference * _unionGetSetType( SAL_THROW( () ) { typelib_TypeDescriptionReference * pRet; + sal_Int32 nPos; sal_Int64 * pDiscr = ((typelib_UnionTypeDescription *)pTD)->pDiscriminants; sal_Int64 nDiscr = *(sal_Int64 *)pUnion; - for ( sal_Int32 nPos = ((typelib_UnionTypeDescription *)pTD)->nMembers; nPos--; ) + for ( nPos = ((typelib_UnionTypeDescription *)pTD)->nMembers; nPos--; ) { if (pDiscr[nPos] == nDiscr) { |