diff options
author | Maxime de Roucy <mderoucy@linagora.com> | 2012-03-14 12:34:56 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2012-03-28 12:07:51 +0200 |
commit | 378ee95b089cb20d18c6c36954954be9c032853e (patch) | |
tree | 473c2bc435ca22a95fc5cc0c5f3cec58b2cc8bcd /sw | |
parent | 16094573256e4c4ece92f86f63559658a25e8d61 (diff) |
fix of comments
fix some comments made in
31b7640f7137964916062e64fca18869a18f5118
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/editsh.hxx | 10 | ||||
-rw-r--r-- | sw/source/core/edit/edattr.cxx | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index fac6e05972ff..051d39a88fe1 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -325,23 +325,23 @@ public: sal_uInt16 GetTxtFmtCollCount() const; SwTxtFmtColl& GetTxtFmtColl( sal_uInt16 nTxtFmtColl) const; /** - * Get the named character format of the current selection. + * Get the named paragraph format of the current selection. * * @see GetPaMTxtFmtColl() * - * @return the named character format of the first node that contains one. + * @return the named paragraph format of the first node that contains one. * Nodes are sort by order of appearance in the selections ; * selections are sort by their order of creation * (last created selection first, oldest selection at last). */ SwTxtFmtColl* GetCurTxtFmtColl() const; /** - * Get the named character format of the selection(s) described by a SwPaM. + * Get the named paragraph format of the selection(s) described by a SwPaM. * * @param pPaM - * input parameter - the selection where to look for the character format. + * input parameter - the selection where to look for the paragraph format. * - * @return the named character format of the first node that contains one. + * @return the named paragraph format of the first node that contains one. */ SwTxtFmtColl* GetPaMTxtFmtColl( SwPaM* pPaM ) const; diff --git a/sw/source/core/edit/edattr.cxx b/sw/source/core/edit/edattr.cxx index f42e3abe182c..8ccb5d38a888 100644 --- a/sw/source/core/edit/edattr.cxx +++ b/sw/source/core/edit/edattr.cxx @@ -268,17 +268,17 @@ SwTxtFmtColl* SwEditShell::GetPaMTxtFmtColl( SwPaM* pPaM ) const if( pNd->IsTxtNode() ) { - // if it's a text node get its named character format + // if it's a text node get its named paragraph format SwTxtFmtColl* pFmt = static_cast<SwTxtNode*>(pNd)->GetTxtColl(); - // if the character format exist stop here and return it + // if the paragraph format exist stop here and return it if( pFmt != NULL ) return pFmt; } } } while ( ( pPaM = static_cast<SwPaM*>(pPaM->GetNext()) ) != pStartPaM ); - // if none of the selected node contain a named character format + // if none of the selected node contain a named paragraph format return NULL; } |