From 65610d54b43290d722b318d5ff819e6b5af1bc3a Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Mon, 4 Mar 2013 22:21:36 +0100 Subject: remove trailing whitespaces Change-Id: Ib6684fe00e063e150af30477fd704d9b3f029282 --- sw/source/core/docnode/node.cxx | 4 ++-- sw/source/filter/writer/writer.cxx | 2 +- sw/source/filter/ww8/ww8par3.cxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sw') diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx index cca5729fd4ef..83c889b5c58d 100644 --- a/sw/source/core/docnode/node.cxx +++ b/sw/source/core/docnode/node.cxx @@ -1333,7 +1333,7 @@ bool SwCntntNode::GetInfo( SfxPoolItem& rInfo ) const // Set an Attribute sal_Bool SwCntntNode::SetAttr(const SfxPoolItem& rAttr ) { - if( !GetpSwAttrSet() ) // Have the Nodes created by the corresponding AttrSets + if( !GetpSwAttrSet() ) // Have the Nodes created by the corresponding AttrSets NewAttrSet( GetDoc()->GetAttrPool() ); OSL_ENSURE( GetpSwAttrSet(), "Why did't we create an AttrSet?"); @@ -1359,7 +1359,7 @@ sal_Bool SwCntntNode::SetAttr(const SfxPoolItem& rAttr ) { SwAttrSetChg aChgOld( *GetpSwAttrSet(), aOld ); SwAttrSetChg aChgNew( *GetpSwAttrSet(), aNew ); - ModifyNotification( &aChgOld, &aChgNew ); // Send all changed ones + ModifyNotification( &aChgOld, &aChgNew ); // Send all changed ones } } return bRet; diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx index bd1de3fb83d9..27a96d9eac81 100644 --- a/sw/source/filter/writer/writer.cxx +++ b/sw/source/filter/writer/writer.cxx @@ -455,7 +455,7 @@ sal_uInt16 Writer::GetBookmarks(const SwCntntNode& rNd, xub_StrLen nStt, OSL_ENSURE( rArr.empty(), "there are still entries available" ); sal_uLong nNd = rNd.GetIndex(); - std::pair aIterPair + std::pair aIterPair = m_pImpl->aBkmkNodePos.equal_range( nNd ); if( aIterPair.first != aIterPair.second ) { diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx index 7ee328119e9d..c750221a974a 100644 --- a/sw/source/filter/ww8/ww8par3.cxx +++ b/sw/source/filter/ww8/ww8par3.cxx @@ -2122,7 +2122,7 @@ void WW8FormulaControl::FormulaRead(SwWw8ControlType nWhich, *pDataStream >> nHeaderByte; - // might be better to read the bits as a 16 bit word + // might be better to read the bits as a 16 bit word // ( like it is in the spec. ) sal_uInt8 bits1; *pDataStream >> bits1; -- cgit