diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-03-28 17:48:48 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-03-28 22:14:39 +0100 |
commit | 2535e00ea70956ea56f2a3d9c0e80a40265d5f68 (patch) | |
tree | 7e3ac11eca512d678c391913a4a9f1d0b7ad0bf5 /sw | |
parent | 91175c7ef111e49b13b8cd6c1f43ddc478eab5ee (diff) |
formatting
Change-Id: Idb189972e5d485bb0bf0655eb2b8e90c4cd21a53
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unotbl.cxx | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index 8fc75d6aae3b..6ceecbe392bb 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -2022,18 +2022,15 @@ namespace } 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 ) throw(uno::RuntimeException, std::exception) { - if( rId.getLength() == 16 - && 0 == memcmp( getUnoTunnelId().getConstArray(), - rId.getConstArray(), 16 ) ) + if(rId.getLength() == 16 + && 0 == memcmp(getUnoTunnelId().getConstArray(), 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; } @@ -2050,8 +2047,7 @@ SwXTextTable::SwXTextTable() nColumns(2), bFirstRowAsLabel(false), bFirstColumnAsLabel(false) -{ -} +{ } SwXTextTable::SwXTextTable(SwFrmFmt& rFrmFmt) : SwClient( &rFrmFmt ) @@ -2064,13 +2060,10 @@ SwXTextTable::SwXTextTable(SwFrmFmt& rFrmFmt) nColumns(0), bFirstRowAsLabel(false), bFirstColumnAsLabel(false) -{ -} +{ } SwXTextTable::~SwXTextTable() -{ - delete pTableProps; -} + { delete pTableProps; } uno::Reference<text::XTextTable> SwXTextTable::CreateXTextTable(SwFrmFmt *const pFrmFmt) |