diff options
author | Philipp Riemer <ruderphilipp@gmail.com> | 2014-07-13 14:34:24 +0200 |
---|---|---|
committer | Philipp Riemer <ruderphilipp@gmail.com> | 2014-07-13 17:55:09 +0200 |
commit | 21eb2f36ff9e223318d72b952eacaf419a722ce1 (patch) | |
tree | 3ccef33a8b0a3ecc9d9ccc1f1de6a034965f3a43 /sw | |
parent | 92d82e0f4be53023e74f556aa3caf5c61427bc97 (diff) |
fix existing comments
Change-Id: I718576c05ee3c621f2544cb1dcd6f0d7d1cc87c9
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/inc/frmtool.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/unocore/unochart.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/unocore/unoframe.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/inc/frmtool.hxx b/sw/source/core/inc/frmtool.hxx index c836247ea786..1372efb67b97 100644 --- a/sw/source/core/inc/frmtool.hxx +++ b/sw/source/core/inc/frmtool.hxx @@ -158,7 +158,7 @@ SwFrm* GetFrmOfModify( const SwRootFrm* pLayout, const SwPosition *pPos = 0, const bool bCalcFrm = false ); -// Should extra data (reline stroke, line numbers) be painted? +// Should extra data (redline stroke, line numbers) be painted? bool IsExtraData( const SwDoc *pDoc ); // #i11760# - method declaration <CalcCntnt(..)> diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx index 17e41732dd48..070de39118a5 100644 --- a/sw/source/core/unocore/unochart.cxx +++ b/sw/source/core/unocore/unochart.cxx @@ -2568,9 +2568,9 @@ bool SwChartDataSequence::DeleteBox( const SwTableBox &rBox ) if (!pCNd) pCNd = GetFrmFmt()->GetDoc()->GetNodes().GoNext( &aIdx ); // and then one can e.g. create a SwPosition: - SwPosition aNewPos( *pCNd ); // new position to beused with cursor + SwPosition aNewPos( *pCNd ); // new position to be used with cursor - // if the mark is to be changed make sure there is one... + // if the mark is to be changed, make sure there is one if (pMarkStartNode == rBox.GetSttNd() && !pTblCrsr->HasMark()) pTblCrsr->SetMark(); diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index 539d9d47a610..f42d8451e547 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -2178,7 +2178,7 @@ uno::Any SwXFrame::getPropertyValue(const OUString& rPropertyName) uno::Reference < frame::XModel > xModel( xComp, uno::UNO_QUERY ); if ( FN_EMBEDDED_OBJECT == pEntry->nWID ) { - // ensure the + // when exposing the EmbeddedObject, ensure it has a client site OSL_ENSURE( pDoc->GetDocShell(), "no doc shell => no client site" ); if ( pDoc->GetDocShell() ) pDoc->GetDocShell()->GetIPClient( svt::EmbeddedObjectRef( xIP, embed::Aspects::MSOLE_CONTENT ) ); |