diff options
author | Joren De Cuyper <joren.libreoffice@telenet.be> | 2013-02-02 02:59:30 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-02-02 13:41:51 +0000 |
commit | 0cd3e819ecef72df2d586facd4e3f635fb95146a (patch) | |
tree | e9e6b45953cad38c377d1d174c8c8cff309c5511 | |
parent | a6ac6559e3e294cfd891d43bdfffce8936aa006d (diff) |
fix if statement and translate German OSL_ENSURE
Change-Id: I3eefa563e00e6a4dcb3f1e5726bdf6d27f536624
Reviewed-on: https://gerrit.libreoffice.org/1960
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
-rw-r--r-- | sw/source/core/txtnode/ndtxt.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx index ab4cd3cdb8f8..703e63294ec9 100644 --- a/sw/source/core/txtnode/ndtxt.cxx +++ b/sw/source/core/txtnode/ndtxt.cxx @@ -1071,10 +1071,9 @@ void SwTxtNode::_ChgTxtCollUpdateNum( const SwTxtFmtColl *pOldColl, { SetAttrListLevel(nNewLevel); } - + if (pDoc) { - if (pDoc) - pDoc->GetNodes().UpdateOutlineNode(*this); + pDoc->GetNodes().UpdateOutlineNode(*this); } @@ -3575,9 +3574,9 @@ void SwTxtNode::Modify( const SfxPoolItem* pOldValue, const SfxPoolItem* pNewVal SwFmtColl* SwTxtNode::ChgFmtColl( SwFmtColl *pNewColl ) { - OSL_ENSURE( pNewColl,"ChgFmtColl: Collectionpointer ist 0." ); + OSL_ENSURE( pNewColl,"ChgFmtColl: Collectionpointer has value 0." ); OSL_ENSURE( HAS_BASE( SwTxtFmtColl, pNewColl ), - "ChgFmtColl: ist kein Text-Collectionpointer." ); + "ChgFmtColl: is not a Text Collection pointer." ); SwTxtFmtColl *pOldColl = GetTxtColl(); if( pNewColl != pOldColl ) |