summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-10-18 14:48:48 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-10-18 15:17:34 +0200
commitfdfc82ff2af11f37a61ae65da061e7e6ef8966a0 (patch)
treea7a2419c8cb815b9131e792baa49883ff7ba2f75
parente094ac0ff95f82a05810fc98945eb5229d19eadb (diff)
move doxygen comments to header
Change-Id: I828f4290c99e750df66548109ef8ae9b496af297
-rw-r--r--sw/inc/hintids.hxx5
-rw-r--r--sw/inc/hints.hxx6
-rw-r--r--sw/source/core/attr/hints.cxx16
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 ];