summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-07-03 09:05:19 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-07-03 09:05:53 +0200
commitdd819b76b60df52e98d75993f9e69c22f2811de9 (patch)
tree8e6219803cfc1a8dd062377e7ce086544981d8a3 /sw
parentf7f0486376adbabf3ea66bfd8a7b692c335ec3c8 (diff)
sw: clean up SwPageFrm::PaintBorderAndShadow and related comments
Change-Id: Id046bf8a8ff9da816d4c8d0e53aabcf124258d29
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/layact.cxx4
-rw-r--r--sw/source/core/layout/pagechg.cxx4
-rw-r--r--sw/source/core/layout/paintfrm.cxx6
-rw-r--r--sw/source/core/view/viewsh.cxx2
4 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index 12758930c186..27dc66b2c5ec 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 2976db7804b9..3c755e1d90f1 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 49a0773c6f42..4f27f02e8d4c 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 ad014b5d4a87..3e77cf1e336b 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;