summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-12-13 20:18:17 +0100
committerEike Rathke <erack@redhat.com>2013-12-13 21:14:45 +0100
commitffb8b734c0654c3e1d7d2acb01d5ea00400b1b68 (patch)
treea9dff818dd37b9be3020efc066bba051c6e195d1
parentb51b34ca82411d91e300107b0fca9041ba806366 (diff)
how about style?
Change-Id: I2b53f87f0bf0838c0ef61c3b31408643ae4a0fc3
-rw-r--r--sc/inc/table.hxx2
-rw-r--r--sc/source/core/data/table2.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index f29e7f9aa94f..1a84fce46730 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -1069,7 +1069,7 @@ private:
};
public :
- ScColumn* GetColumnByIndex(sal_Int32 index);
+ ScColumn* GetColumnByIndex( sal_Int32 nIndex );
};
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;
}