[Libreoffice-commits] core.git: sw/source
Miklos Vajna
vmiklos at collabora.co.uk
Fri Jul 3 00:06:26 PDT 2015
sw/source/core/layout/layact.cxx | 4 ++--
sw/source/core/layout/pagechg.cxx | 4 ++--
sw/source/core/layout/paintfrm.cxx | 6 +++---
sw/source/core/view/viewsh.cxx | 2 +-
4 files changed, 8 insertions(+), 8 deletions(-)
New commits:
commit dd819b76b60df52e98d75993f9e69c22f2811de9
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Fri Jul 3 09:05:19 2015 +0200
sw: clean up SwPageFrm::PaintBorderAndShadow and related comments
Change-Id: Id046bf8a8ff9da816d4c8d0e53aabcf124258d29
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index 1275893..27dc66b 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -1260,7 +1260,7 @@ bool SwLayAction::FormatLayout( OutputDevice *pRenderContext, SwLayoutFrm *pLay,
if ( !bNoPaint && IsPaint() && bAddRect && (pLay->IsCompletePaint() || bChanged) )
{
SwRect aPaint( pLay->Frm() );
- // OD 13.02.2003 #i9719#, #105645# - consider border and shadow for
+ // #i9719# - consider border and shadow for
// page frames -> enlarge paint rectangle correspondingly.
if ( pLay->IsPageFrm() )
{
@@ -1306,7 +1306,7 @@ bool SwLayAction::FormatLayout( OutputDevice *pRenderContext, SwLayoutFrm *pLay,
aFrmAtCompletePaint = pLay->Frm();
}
- // OD 13.02.2003 #i9719#, #105645# - provide paint of spacing
+ // #i9719# - provide paint of spacing
// between pages (not only for in online mode).
if ( pLay->IsPageFrm() )
{
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx
index 2976db7..3c755e1 100644
--- a/sw/source/core/layout/pagechg.cxx
+++ b/sw/source/core/layout/pagechg.cxx
@@ -257,7 +257,7 @@ void SwPageFrm::DestroyImpl()
pImp->SetFirstVisPageInvalid();
if ( pImp->IsAction() )
pImp->GetLayAction().SetAgain();
- // OD 12.02.2003 #i9719#, #105645# - retouche area of page
+ // #i9719# - retouche area of page
// including border and shadow area.
const bool bRightSidebar = (SidebarPosition() == sw::sidebarwindows::SidebarPosition::RIGHT);
SwRect aRetoucheRect;
@@ -621,7 +621,7 @@ void SwPageFrm::_UpdateAttr( const SfxPoolItem *pOld, const SfxPoolItem *pNew,
// cleanup Window
if( pSh && pSh->GetWin() && aOldPageFrmRect.HasArea() )
{
- // OD 12.02.2003 #i9719#, #105645# - consider border and shadow of
+ // #i9719# - consider border and shadow of
// page frame for determine 'old' rectangle - it's used for invalidating.
const bool bRightSidebar = (SidebarPosition() == sw::sidebarwindows::SidebarPosition::RIGHT);
SwRect aOldRectWithBorderAndShadow;
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index 49a0773..4f27f02 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -6027,7 +6027,7 @@ bool SwPageFrm::IsLeftShadowNeeded() const
/**
* Determine rectangle for bottom page shadow
- * OD 12.02.2003 for #i9719# and #105645#
+ * for #i9719#
*/
/*static*/ void SwPageFrm::GetHorizontalShadowRect( const SwRect& _rPageRect,
const SwViewShell* _pViewShell,
@@ -6090,7 +6090,7 @@ static void lcl_paintBitmapExToRect(vcl::RenderContext *pOut, const Point& aPoin
/**
* Paint page border and shadow
*
- * OD 12.02.2003 for #i9719# and #105645#
+ * for #i9719#
* implement paint of page border and shadow
*/
/*static*/ void SwPageFrm::PaintBorderAndShadow( const SwRect& _rPageRect,
@@ -6367,7 +6367,7 @@ static void lcl_paintBitmapExToRect(vcl::RenderContext *pOut, const Point& aPoin
/**
* Get bound rectangle of border and shadow for repaints
*
- * OD 12.02.2003 for #i9719# and #105645#
+ * for #i9719#
*/
/*static*/ void SwPageFrm::GetBorderAndShadowBoundRect( const SwRect& _rPageRect,
const SwViewShell* _pViewShell,
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index ad014b5..3e77cf1 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -1084,7 +1084,7 @@ void SwViewShell::VisPortChgd( const SwRect &rRect)
aPageRect.SSize() = rFormatPage.GetBoundRect(GetWin()).SSize();
}
- // OD 12.02.2003 #i9719#, #105645# - consider new border and shadow width
+ // #i9719# - consider new border and shadow width
if ( aPageRect.IsOver( aBoth ) )
{
SwTwips nPageLeft = 0;
More information about the Libreoffice-commits
mailing list