diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-06-01 21:38:53 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-06-01 21:38:53 +0200 |
commit | d4a8a64c218a4640e9701356aa87701d5a80589b (patch) | |
tree | 2a94bafb512349b5ca13147c6039698eb34aeab5 /sc/source/ui | |
parent | 0ef96d2d92f754b56eb3b472b88c81da689bbb92 (diff) |
change to SCTAB from sal_Int16 and sal_Int32 for sheet index
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/vba/vbaquerytable.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/vba/vbaquerytable.cxx b/sc/source/ui/vba/vbaquerytable.cxx index 159c7b75adf2..03e734a81548 100644 --- a/sc/source/ui/vba/vbaquerytable.cxx +++ b/sc/source/ui/vba/vbaquerytable.cxx @@ -59,9 +59,9 @@ ScVbaQueryTable::Refresh( const ::com::sun::star::uno::Any& /*aBackgroundQuery*/ { //Get parent Info - sal_Int32 nRow = m_pParent->getRow(); - sal_Int32 nClm = m_pParent->getColumn(); - sal_Int16 nTab = m_pParent->getWorksheet()->getIndex() - 1; //The vba index begin from 1. + SCROW nRow = m_pParent->getRow(); + SCCOL nClm = m_pParent->getColumn(); + SCTAB nTab = m_pParent->getWorksheet()->getIndex() - 1; //The vba index begin from 1. ScAddress crrRngAddr(nClm, nRow, nTab); //Get link info |