Kaydet (Commit) ec1901ef authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

reduce UNO boilerplate

Change-Id: I7fa6a5fcd8bf1ac82d089a1db0e0ae40e4700bf8
üst 0ffa1e83
......@@ -4463,32 +4463,22 @@ void SwXCellRange::Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew)
// SwXTableRows
OUString SwXTableRows::getImplementationName(void) throw( uno::RuntimeException, std::exception )
{
return OUString("SwXTableRows");
}
{ return OUString("SwXTableRows"); }
sal_Bool SwXTableRows::supportsService(const OUString& rServiceName) throw( uno::RuntimeException, std::exception )
{
return cppu::supportsService(this, rServiceName);
}
{ return cppu::supportsService(this, rServiceName); }
uno::Sequence< OUString > SwXTableRows::getSupportedServiceNames(void) throw( uno::RuntimeException, std::exception )
{
uno::Sequence< OUString > aRet(1);
OUString* pArray = aRet.getArray();
pArray[0] = "com.sun.star.text.TableRows";
return aRet;
}
{ return { "com.sun.star.text.TableRows" }; }
TYPEINIT1(SwXTableRows, SwClient);
SwXTableRows::SwXTableRows(SwFrmFmt& rFrmFmt) :
SwClient(&rFrmFmt)
{
}
{ }
SwXTableRows::~SwXTableRows()
{
}
{ }
sal_Int32 SwXTableRows::getCount(void) throw( uno::RuntimeException, std::exception )
{
......
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