diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 17:12:53 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 17:12:53 +0000 |
commit | 1cd21d56e491289386ea071d9f790cf93ae9c98a (patch) | |
tree | 0c07cf0133c4fa60c5dcc788ed62571c96e0372f /svx/source/fmcomp | |
parent | 635bca5f5bd00eb3267cc97d6bc57605c354e13d (diff) |
INTEGRATION: CWS ooo20031110 (1.38.124); FILE MERGED
2003/11/11 12:47:06 waratah 1.38.124.1: #i22301# Correct for scoping rules
Diffstat (limited to 'svx/source/fmcomp')
-rw-r--r-- | svx/source/fmcomp/fmgridif.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index 2984bf98e172..b69439040313 100644 --- a/svx/source/fmcomp/fmgridif.cxx +++ b/svx/source/fmcomp/fmgridif.cxx @@ -2,9 +2,9 @@ * * $RCSfile: fmgridif.cxx,v $ * - * $Revision: 1.38 $ + * $Revision: 1.39 $ * - * last change: $Author: hr $ $Date: 2003-07-16 17:57:52 $ + * last change: $Author: rt $ $Date: 2003-12-01 18:12:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1509,7 +1509,9 @@ void FmXGridPeer::propertyChange(const PropertyChangeEvent& evt) throw( RuntimeE { // zunaechst raussuchen welche Column sich geaendert hat ::comphelper::InterfaceRef xCurrent; - for (sal_Int32 i = 0; i < m_xColumns->getCount(); i++) + sal_Int32 i; + + for ( i = 0; i < m_xColumns->getCount(); i++) { ::cppu::extractInterface(xCurrent, m_xColumns->getByIndex(i)); if (evt.Source == xCurrent) @@ -2797,7 +2799,9 @@ Sequence< ::com::sun::star::util::URL>& FmXGridPeer::getSupportedURLs() }; aSupported.realloc(sizeof(sSupported)/sizeof(sSupported[0])); ::com::sun::star::util::URL* pSupported = aSupported.getArray(); - for (sal_uInt16 i=0; i<aSupported.getLength(); ++i, ++pSupported) + sal_uInt16 i; + + for ( i = 0; i < aSupported.getLength(); ++i, ++pSupported) pSupported->Complete = sSupported[i]; // let an ::com::sun::star::util::URL-transformer normalize the URLs |