diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-12-30 18:12:14 +0100 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-01-03 00:18:09 +0000 |
commit | 470ea0a7ae1874064b09c711ee0a54f1a82ebfda (patch) | |
tree | e89183ef1876ecaa02ca7bfac5d7e63537975bba /sc/source/filter/oox/workbookhelper.cxx | |
parent | 152e2e9211ce993f365004bf9caf9ea85269489f (diff) |
tdf#48140 replace CellRangeAddress in xlsx import (6)&(7)
Change-Id: Idc44249b96009633f63b72dd51a74e51bef41284
Reviewed-on: https://gerrit.libreoffice.org/32576
Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'sc/source/filter/oox/workbookhelper.cxx')
-rw-r--r-- | sc/source/filter/oox/workbookhelper.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx index 2d7d6a0b7234..0e67c303aaf1 100644 --- a/sc/source/filter/oox/workbookhelper.cxx +++ b/sc/source/filter/oox/workbookhelper.cxx @@ -785,20 +785,6 @@ Reference< XSpreadsheet > WorkbookHelper::getSheetFromDoc( const OUString& rShee return xSheet; } -Reference< XCellRange > WorkbookHelper::getCellRangeFromDoc( const CellRangeAddress& rRange ) const -{ - Reference< XCellRange > xRange; - try - { - Reference< XSpreadsheet > xSheet( getSheetFromDoc( rRange.Sheet ), UNO_SET_THROW ); - xRange = xSheet->getCellRangeByPosition( rRange.StartColumn, rRange.StartRow, rRange.EndColumn, rRange.EndRow ); - } - catch( Exception& ) - { - } - return xRange; -} - Reference< XCellRange > WorkbookHelper::getCellRangeFromDoc( const ScRange& rRange ) const { Reference< XCellRange > xRange; |