Kaydet (Commit) 7c1ab347 authored tarafından Caolán McNamara's avatar Caolán McNamara

restore SdrTableObj::getColumnCount

removed correctly by fe630f3b but
we will need it again

Change-Id: I07a44e25cfc0de01cfdfef10ae817c413b50b597
üst cc241063
......@@ -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;
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment