From fdfc82ff2af11f37a61ae65da061e7e6ef8966a0 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Sat, 18 Oct 2014 14:48:48 +0200 Subject: move doxygen comments to header Change-Id: I828f4290c99e750df66548109ef8ae9b496af297 --- sw/inc/hintids.hxx | 5 +++++ sw/inc/hints.hxx | 6 ++++++ sw/source/core/attr/hints.cxx | 16 ---------------- 3 files changed, 11 insertions(+), 16 deletions(-) diff --git a/sw/inc/hintids.hxx b/sw/inc/hintids.hxx index 76d52020ff8c..5774ffb5254c 100644 --- a/sw/inc/hintids.hxx +++ b/sw/inc/hintids.hxx @@ -431,6 +431,11 @@ typedef SfxPoolItem* SwDfltAttrTab[ POOLATTR_END - POOLATTR_BEGIN ]; extern SwDfltAttrTab aAttrTab; extern SfxItemInfo aSlotTab[]; +/** Get the default attribute from corresponding default attribute table. + + @param[in] nWhich Position in table + @return Attribute if found, null pointer otherwise +*/ SW_DLLPUBLIC const SfxPoolItem* GetDfltAttr( sal_uInt16 nWhich ); SW_DLLPUBLIC sal_uInt16 GetWhichOfScript( sal_uInt16 nWhich, sal_uInt16 nScript ); diff --git a/sw/inc/hints.hxx b/sw/inc/hints.hxx index f3af1afd06a6..bf6b5f9d67b7 100644 --- a/sw/inc/hints.hxx +++ b/sw/inc/hints.hxx @@ -132,6 +132,11 @@ class SwRefMarkFldUpdate : public SwMsgPoolItem { public: const OutputDevice* pOut; ///< pointer to the current output device + /** Is sent if reference marks should be updated. + + To get the page/chapter number, the frame has to be asked. For that we need + the current OutputDevice. + */ SwRefMarkFldUpdate( const OutputDevice* ); }; @@ -166,6 +171,7 @@ public: bool bModified : 1; bool bBehindSplitLine : 1; + /** Is sent if a table should be recalculated */ SwTableFmlUpdate( const SwTable* ); }; diff --git a/sw/source/core/attr/hints.cxx b/sw/source/core/attr/hints.cxx index 69eace5bc7c8..2aed42659232 100644 --- a/sw/source/core/attr/hints.cxx +++ b/sw/source/core/attr/hints.cxx @@ -49,11 +49,6 @@ SwUpdateAttr::SwUpdateAttr( sal_Int32 nS, sal_Int32 nE, sal_uInt16 nW ) { } -/** Is sent if reference marks should be updated. - - To get the page/chapter number, the frame has to be asked. For that we need - the current OutputDevice. -*/ SwRefMarkFldUpdate::SwRefMarkFldUpdate( const OutputDevice* pOutput ) : SwMsgPoolItem( RES_REFMARKFLD_UPDATE ), pOut( pOutput ) @@ -66,7 +61,6 @@ SwDocPosUpdate::SwDocPosUpdate( const SwTwips nDcPos ) { } -/** Is sent if a table should be recalculated */ SwTableFmlUpdate::SwTableFmlUpdate( const SwTable* pNewTbl ) : SwMsgPoolItem( RES_TABLEFML_UPDATE ), pTbl( pNewTbl ), pHistory( 0 ), nSplitLine( USHRT_MAX ), @@ -117,7 +111,6 @@ SwMsgPoolItem::SwMsgPoolItem( sal_uInt16 nWhch ) { } -// "Overhead" of SfxPoolItem bool SwMsgPoolItem::operator==( const SfxPoolItem& ) const { OSL_FAIL( "SwMsgPoolItem knows no ==" ); @@ -131,11 +124,6 @@ SfxPoolItem* SwMsgPoolItem::Clone( SfxItemPool* ) const } #if OSL_DEBUG_LEVEL > 0 -/** Get the default attribute from corresponding default attribute table. - - @param[in] nWhich Position in table - @return Attribute if found, null pointer otherwise -*/ const SfxPoolItem* GetDfltAttr( sal_uInt16 nWhich ) { OSL_ASSERT( nWhich < POOLATTR_END && nWhich >= POOLATTR_BEGIN ); @@ -145,10 +133,6 @@ const SfxPoolItem* GetDfltAttr( sal_uInt16 nWhich ) return pHt; } #else -/** Get the default attribute from corresponding default attribute table. - - @param[in] nWhich Position in table -*/ const SfxPoolItem* GetDfltAttr( sal_uInt16 nWhich ) { return aAttrTab[ nWhich - POOLATTR_BEGIN ]; -- cgit