summaryrefslogtreecommitdiff
path: root/sc/source/core/data/table2.cxx
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2013-11-27 16:25:40 +0000
committerArmin Le Grand <alg@apache.org>2013-11-27 16:25:40 +0000
commit812e2a8bf64274e47db572b8ca592f49b1263ad7 (patch)
tree404f9a7432e94c42a09bb76b33eb7d38186ccff6 /sc/source/core/data/table2.cxx
parent9818d8d1c64bd93adfaacb8a2f824a9db1f4987d (diff)
resync to trunk (after accessibility integration)
Diffstat (limited to 'sc/source/core/data/table2.cxx')
-rw-r--r--sc/source/core/data/table2.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index 509e51b401c7..a91932fb1ecd 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -3308,3 +3308,14 @@ sal_uLong ScTable::GetColOffset( SCCOL nCol ) const
return n;
}
+//IAccessibility2 Implementation 2009-----
+ScColumn* ScTable::GetColumnByIndex(sal_Int32 index)
+{
+ if( index <= MAXCOL && index >= 0 )
+ {
+ return &(aCol[index]);
+ }
+ return NULL;
+}
+//-----IAccessibility2 Implementation 2009
+