diff options
author | Maxime de Roucy <mderoucy@linagora.com> | 2013-04-04 18:05:24 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-04-25 08:55:10 +0000 |
commit | f215e634de4926def396d8442b8b15a912cb69e8 (patch) | |
tree | bcfb1be124987d29bcd620647165ba9be60e3ce3 /sw/inc/redline.hxx | |
parent | e42eed90b5c8151f8b5520ca2728061b1ac8e41e (diff) |
comments and code reformat
Change-Id: Ib4e45cb85c9e5e5ffa6476c939300c6795412b1a
Reviewed-on: https://gerrit.libreoffice.org/3582
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/inc/redline.hxx')
-rw-r--r-- | sw/inc/redline.hxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx index f9fc926b22ea..2c54a2ea61a4 100644 --- a/sw/inc/redline.hxx +++ b/sw/inc/redline.hxx @@ -203,7 +203,7 @@ public: if( !pEndPtr ) pEndPtr = End(); *pEndPtr = rPos; } - // Do we have a valid selection? + /// Do we have a valid selection? sal_Bool HasValidRange() const; const SwRedlineData& GetRedlineData(sal_uInt16 nPos = 0) const; @@ -224,8 +224,8 @@ public: void SetComment( const String& rS ) { pRedlineData->SetComment( rS ); } - // ExtraData gets copied, the pointer is therefor not taken over by - // the RedLineObject. + /** ExtraData gets copied, the pointer is therefor not taken over by + * the RedLineObject.*/ void SetExtraData( const SwRedlineExtraData* pData ) { pRedlineData->SetExtraData( pData ); } const SwRedlineExtraData* GetExtraData() const @@ -246,10 +246,11 @@ public: void Hide( sal_uInt16 nLoop = 0 ); void ShowOriginal( sal_uInt16 nLoop = 0 ); - // Calculates the intersection with text node number nNdIdx. + /// Calculates the intersection with text node number nNdIdx. void CalcStartEnd( sal_uLong nNdIdx, sal_uInt16& nStart, sal_uInt16& nEnd ) const; - void InvalidateRange(); // Initiate the layout. + /// Initiate the layout. + void InvalidateRange(); sal_Bool IsOwnRedline( const SwRedline& rRedl ) const { return GetAuthor() == rRedl.GetAuthor(); } |