13#include <com/sun/star/table/XCellRange.hpp>
14#include <com/sun/star/sheet/XCellRangeAddressable.hpp>
15#include <com/sun/star/sheet/XCellRangeReferrer.hpp>
17#include <cppunit/TestAssert.h>
20using namespace css::uno;
26 uno::Reference<sheet::XCellRangeReferrer> xReferrer(
init(), UNO_QUERY_THROW);
27 uno::Reference<table::XCellRange> xReferredRange = xReferrer->getReferredCells();
29 uno::Reference<sheet::XCellRangeAddressable> xAddressable(xReferredRange, UNO_QUERY_THROW);
30 table::CellRangeAddress aCellRange = xAddressable->getRangeAddress();
void testGetReferredCells()
virtual css::uno::Reference< css::uno::XInterface > init()=0
const css::table::CellRangeAddress & getCellRange() const