svx/inc/svx/svdotable.hxx | 2 ++ svx/source/table/svdotable.cxx | 14 ++++++++++++++ 2 files changed, 16 insertions(+)
New commits: commit 7c1ab3470333a642947421f4289d9a79d13970fb Author: Caolán McNamara <caol...@redhat.com> Date: Tue Apr 23 09:56:56 2013 +0100 restore SdrTableObj::getColumnCount removed correctly by fe630f3b097ca2bf173f21de77ed1535c767d0b9 but we will need it again Change-Id: I07a44e25cfc0de01cfdfef10ae817c413b50b597 diff --git a/svx/inc/svx/svdotable.hxx b/svx/inc/svx/svdotable.hxx index 2cc3ba8..6ec0334 100644 --- a/svx/inc/svx/svdotable.hxx +++ b/svx/inc/svx/svdotable.hxx @@ -146,6 +146,8 @@ public: void setActiveCell( const sdr::table::CellPos& rPos ); void getActiveCellPos( sdr::table::CellPos& rPos ) const; + sal_Int32 getRowCount() const; + sal_Int32 getColumnCount() const; void getCellBounds( const sdr::table::CellPos& rPos, ::Rectangle& rCellRect ); const SfxItemSet& GetActiveCellItemSet() const; diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index 85551b5..3717e46 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -1504,6 +1504,20 @@ const CellRef& SdrTableObj::getActiveCell() const // -------------------------------------------------------------------- +sal_Int32 SdrTableObj::getRowCount() const +{ + return mpImpl ? mpImpl->getRowCount() : 0; +} + +// -------------------------------------------------------------------- + +sal_Int32 SdrTableObj::getColumnCount() const +{ + return mpImpl ? mpImpl->getColumnCount() : 0; +} + +// -------------------------------------------------------------------- + void SdrTableObj::setActiveCell( const CellPos& rPos ) { if( mpImpl && mpImpl->mxTable.is() ) try
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits