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

formatting

Change-Id: Idb189972e5d485bb0bf0655eb2b8e90c4cd21a53
üst 91175c7e
...@@ -2022,18 +2022,15 @@ namespace ...@@ -2022,18 +2022,15 @@ namespace
} }
const uno::Sequence< sal_Int8 > & SwXTextTable::getUnoTunnelId() const uno::Sequence< sal_Int8 > & SwXTextTable::getUnoTunnelId()
{ { return theSwXTextTableUnoTunnelId::get().getSeq(); }
return theSwXTextTableUnoTunnelId::get().getSeq();
}
sal_Int64 SAL_CALL SwXTextTable::getSomething( const uno::Sequence< sal_Int8 >& rId ) sal_Int64 SAL_CALL SwXTextTable::getSomething( const uno::Sequence< sal_Int8 >& rId )
throw(uno::RuntimeException, std::exception) throw(uno::RuntimeException, std::exception)
{ {
if( rId.getLength() == 16 if(rId.getLength() == 16
&& 0 == memcmp( getUnoTunnelId().getConstArray(), && 0 == memcmp(getUnoTunnelId().getConstArray(), rId.getConstArray(), 16))
rId.getConstArray(), 16 ) )
{ {
return sal::static_int_cast< sal_Int64 >( reinterpret_cast< sal_IntPtr >(this) ); return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_IntPtr>(this));
} }
return 0; return 0;
} }
...@@ -2050,8 +2047,7 @@ SwXTextTable::SwXTextTable() ...@@ -2050,8 +2047,7 @@ SwXTextTable::SwXTextTable()
nColumns(2), nColumns(2),
bFirstRowAsLabel(false), bFirstRowAsLabel(false),
bFirstColumnAsLabel(false) bFirstColumnAsLabel(false)
{ { }
}
SwXTextTable::SwXTextTable(SwFrmFmt& rFrmFmt) SwXTextTable::SwXTextTable(SwFrmFmt& rFrmFmt)
: SwClient( &rFrmFmt ) : SwClient( &rFrmFmt )
...@@ -2064,13 +2060,10 @@ SwXTextTable::SwXTextTable(SwFrmFmt& rFrmFmt) ...@@ -2064,13 +2060,10 @@ SwXTextTable::SwXTextTable(SwFrmFmt& rFrmFmt)
nColumns(0), nColumns(0),
bFirstRowAsLabel(false), bFirstRowAsLabel(false),
bFirstColumnAsLabel(false) bFirstColumnAsLabel(false)
{ { }
}
SwXTextTable::~SwXTextTable() SwXTextTable::~SwXTextTable()
{ { delete pTableProps; }
delete pTableProps;
}
uno::Reference<text::XTextTable> uno::Reference<text::XTextTable>
SwXTextTable::CreateXTextTable(SwFrmFmt *const pFrmFmt) SwXTextTable::CreateXTextTable(SwFrmFmt *const pFrmFmt)
......
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