diff options
author | Eike Rathke <erack@redhat.com> | 2013-12-13 20:18:17 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-12-13 21:14:45 +0100 |
commit | ffb8b734c0654c3e1d7d2acb01d5ea00400b1b68 (patch) | |
tree | a9dff818dd37b9be3020efc066bba051c6e195d1 /sc/source | |
parent | b51b34ca82411d91e300107b0fca9041ba806366 (diff) |
how about style?
Change-Id: I2b53f87f0bf0838c0ef61c3b31408643ae4a0fc3
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/data/table2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index cc7b435c97f7..e4b9ea6290c1 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -3654,11 +3654,11 @@ sal_uLong ScTable::GetColOffset( SCCOL nCol, bool bHiddenAsZero ) const return n; } -ScColumn* ScTable::GetColumnByIndex(sal_Int32 index) +ScColumn* ScTable::GetColumnByIndex( sal_Int32 nIndex ) { - if (ValidCol(index)) + if (ValidCol(nIndex)) { - return &(aCol[index]); + return &(aCol[nIndex]); } return NULL; } |