move doxygen comments to header

Change-Id: I828f4290c99e750df66548109ef8ae9b496af297
This commit is contained in:
Miklos Vajna 2014-10-18 14:48:48 +02:00
parent e094ac0ff9
commit fdfc82ff2a
3 changed files with 11 additions and 16 deletions

View file

@ -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 );

View file

@ -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* );
};

View file

@ -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 ];