diff options
author | Philipp Riemer <ruderphilipp@gmail.com> | 2013-09-26 11:23:53 +0200 |
---|---|---|
committer | Philipp Riemer <ruderphilipp@gmail.com> | 2013-09-26 11:24:49 +0200 |
commit | 69c4a8bae5caadc4ff53660dd3f2b938f6dc1734 (patch) | |
tree | 1b75632a360497f4c7d8a43d77f94920a201bed8 | |
parent | abb9edd8630ff64729b42acb572bad78ec16cb8e (diff) |
cleanup method declarations
Change-Id: I751f94994cf51c01c56a10702c1d0d5f21ba6b45
-rw-r--r-- | sw/source/core/unocore/unotbl.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index fa882d043ea8..d0d036a28c85 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -104,9 +104,8 @@ extern void sw_GetTblBoxColStr( sal_uInt16 nCol, String& rNm ); #define UNO_TABLE_COLUMN_SUM 10000 -static void -lcl_SendChartEvent(::cppu::OWeakObject & rSource, - ::cppu::OInterfaceContainerHelper & rListeners) +static void lcl_SendChartEvent(::cppu::OWeakObject & rSource, + ::cppu::OInterfaceContainerHelper & rListeners) { //TODO: find appropriate settings of the Event chart::ChartDataChangeEvent event; @@ -120,9 +119,8 @@ lcl_SendChartEvent(::cppu::OWeakObject & rSource, & chart::XChartDataChangeEventListener::chartDataChanged, event); } -static void -lcl_SendChartEvent(::cppu::OWeakObject & rSource, - ::cppu::OMultiTypeInterfaceContainerHelper & rListeners) +static void lcl_SendChartEvent(::cppu::OWeakObject & rSource, + ::cppu::OMultiTypeInterfaceContainerHelper & rListeners) { ::cppu::OInterfaceContainerHelper *const pContainer(rListeners.getContainer( chart::XChartDataChangeEventListener::static_type())); @@ -145,7 +143,9 @@ static bool lcl_LineToSvxLine(const table::BorderLine& rLine, SvxBorderLine& rSv return bRet; } -static void lcl_SetSpecialProperty(SwFrmFmt* pFmt, const SfxItemPropertySimpleEntry* pEntry, const uno::Any& aValue) +static void lcl_SetSpecialProperty(SwFrmFmt* pFmt, + const SfxItemPropertySimpleEntry* pEntry, + const uno::Any& aValue) throw (lang::IllegalArgumentException) { // special treatment for "non-items" @@ -347,8 +347,8 @@ static uno::Any lcl_GetSpecialProperty(SwFrmFmt* pFmt, const SfxItemPropertySimp * @param [IN,OUT] rRow (0-based) */ //TODO: potential for throwing proper exceptions instead of having every caller to check for errors -void sw_GetCellPosition( const String &rCellName, - sal_Int32 &rColumn, sal_Int32 &rRow) +void sw_GetCellPosition(const String &rCellName, + sal_Int32 &rColumn, sal_Int32 &rRow) { rColumn = rRow = -1; // default return values indicating failure xub_StrLen nLen = rCellName.Len(); @@ -1959,7 +1959,7 @@ sal_Bool SwTableProperties_Impl::GetProperty(sal_uInt16 nWhichId, sal_uInt16 nMe return aAnyMap.FillValue( nWhichId, nMemberId, rpAny ); } -void SwTableProperties_Impl::ApplyTblAttr(const SwTable& rTbl, SwDoc& rDoc) +void SwTableProperties_Impl::ApplyTblAttr(const SwTable& rTbl, SwDoc& rDoc) { SfxItemSet aSet(rDoc.GetAttrPool(), RES_LAYOUT_SPLIT, RES_LAYOUT_SPLIT, @@ -2228,7 +2228,7 @@ uno::Reference< table::XTableColumns > SwXTextTable::getColumns(void) throw( un return xRet; } -uno::Reference< table::XCell > SwXTextTable::getCellByName(const OUString& CellName) throw( uno::RuntimeException ) +uno::Reference< table::XCell > SwXTextTable::getCellByName(const OUString& CellName) throw( uno::RuntimeException ) { SolarMutexGuard aGuard; uno::Reference< table::XCell > xRet; @@ -2271,7 +2271,7 @@ uno::Sequence< OUString > SwXTextTable::getCellNames(void) throw( uno::RuntimeEx return uno::Sequence< OUString >(); } -uno::Reference< text::XTextTableCursor > SwXTextTable::createCursorByCellName(const OUString& CellName) +uno::Reference< text::XTextTableCursor > SwXTextTable::createCursorByCellName(const OUString& CellName) throw( uno::RuntimeException ) { SolarMutexGuard aGuard; |