12#include <com/sun/star/sheet/XCellRangeAddressable.hpp>
13#include <com/sun/star/table/CellRangeAddress.hpp>
14#include <com/sun/star/uno/Reference.hxx>
16#include <cppunit/TestAssert.h>
19using namespace css::uno;
25 uno::Reference<sheet::XCellRangeAddressable> xCRA(
init(), UNO_QUERY_THROW);
27 table::CellRangeAddress aCellRangeAddr = xCRA->getRangeAddress();
28 CPPUNIT_ASSERT_EQUAL_MESSAGE(
"Unable to get CellRangeAddress", sal_Int16(0),
29 aCellRangeAddr.Sheet);
virtual css::uno::Reference< css::uno::XInterface > init()=0
void testGetRangeAddress()