summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-28 16:07:23 +0200
committerNoel Grandin <noel@peralex.com>2014-03-03 08:59:02 +0200
commit7d958c9fb57048935cbe4c351d146270f1df9465 (patch)
treeda02206ce99542f6604460f8837c4efb0139862d /sc
parentf7d6dde5563e5ccd9bd3490e6e25cbdf51a10105 (diff)
remove unused code in oox::xls::WorksheetGlobals
oox::xls::WorksheetGlobals::getColumns(oox::ValueRange const&) const oox::xls::WorksheetGlobals::getRows(oox::ValueRange const&) const Change-Id: I573bea69c03a92584851c6ae5e8e01a5e90f8fd4
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/oox/worksheethelper.cxx31
1 files changed, 0 insertions, 31 deletions
diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx
index fb80cd6aea84..0061e6d1c52f 100644
--- a/sc/source/filter/oox/worksheethelper.cxx
+++ b/sc/source/filter/oox/worksheethelper.cxx
@@ -250,11 +250,6 @@ public:
/** Returns the XCellRange interface for a row. */
Reference< XCellRange > getRow( sal_Int32 nRow ) const;
- /** Returns the XTableColumns interface for a range of columns. */
- Reference< XTableColumns > getColumns( const ValueRange& rColRange ) const;
- /** Returns the XTableRows interface for a range of rows. */
- Reference< XTableRows > getRows( const ValueRange& rRowRange ) const;
-
/** Returns the XDrawPage interface of the draw page of the current sheet. */
Reference< XDrawPage > getDrawPage() const;
/** Returns the size of the entire drawing page in 1/100 mm. */
@@ -564,32 +559,6 @@ Reference< XCellRange > WorksheetGlobals::getRow( sal_Int32 nRow ) const
return xRow;
}
-Reference< XTableColumns > WorksheetGlobals::getColumns( const ValueRange& rColRange ) const
-{
- Reference< XTableColumns > xColumns;
- sal_Int32 nLastCol = ::std::min( rColRange.mnLast, mrMaxApiPos.Column );
- if( (0 <= rColRange.mnFirst) && (rColRange.mnFirst <= nLastCol) )
- {
- Reference< XColumnRowRange > xRange( getCellRange( CellRangeAddress( getSheetIndex(), rColRange.mnFirst, 0, nLastCol, 0 ) ), UNO_QUERY );
- if( xRange.is() )
- xColumns = xRange->getColumns();
- }
- return xColumns;
-}
-
-Reference< XTableRows > WorksheetGlobals::getRows( const ValueRange& rRowRange ) const
-{
- Reference< XTableRows > xRows;
- sal_Int32 nLastRow = ::std::min( rRowRange.mnLast, mrMaxApiPos.Row );
- if( (0 <= rRowRange.mnFirst) && (rRowRange.mnFirst <= nLastRow) )
- {
- Reference< XColumnRowRange > xRange( getCellRange( CellRangeAddress( getSheetIndex(), 0, rRowRange.mnFirst, 0, nLastRow ) ), UNO_QUERY );
- if( xRange.is() )
- xRows = xRange->getRows();
- }
- return xRows;
-}
-
Reference< XDrawPage > WorksheetGlobals::getDrawPage() const
{
Reference< XDrawPage > xDrawPage;