summaryrefslogtreecommitdiff
path: root/sw/source/core/text/inftxt.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-02-11 12:59:49 +0100
committerMiklos Vajna <vmiklos@suse.cz>2013-02-11 13:27:47 +0100
commitbd505fdb9f669f365ff39b0ef46f0742c638e333 (patch)
tree5e8530c6de1dae3a3664b357c64b69cad37eefb4 /sw/source/core/text/inftxt.cxx
parent6865445a5ec90b49c5fde58531def4b9a64f26e8 (diff)
fdo#59573 position after fieldmark and before annotation anchor is read-only
Also revert "SwTxtPaintInfo::_DrawBackBrush: draw dark border around comment highlight" (commit 57c8c34fcdc2d594d2da3593eb9d86d0daf4e18c), as it draws confusing vertical lines inside the comment when it has multiple runs. Change-Id: If0f60e4a28878c2b31327ae3c04ae11470bc1f52
Diffstat (limited to 'sw/source/core/text/inftxt.cxx')
-rw-r--r--sw/source/core/text/inftxt.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx
index 3696cb880fec..d67248aa327b 100644
--- a/sw/source/core/text/inftxt.cxx
+++ b/sw/source/core/text/inftxt.cxx
@@ -1119,15 +1119,12 @@ void SwTxtPaintInfo::_DrawBackBrush( const SwLinePortion &rPor ) const
const OUString& rAuthor = rPostItField.GetFld()->GetPar1();
sal_uInt16 nIndex = pNd->GetDoc()->InsertRedlineAuthor(rAuthor);
pOutDev->SetFillColor( SwPostItMgr::GetColorLight(nIndex) );
- pOutDev->SetLineColor( SwPostItMgr::GetColorAnchor(nIndex) );
bFilled = true;
}
}
if (!bFilled)
- {
pOutDev->SetFillColor( SwViewOption::GetFieldShadingsColor() );
- pOutDev->SetLineColor( );
- }
+ pOutDev->SetLineColor( );
pOutDev->DrawRect( aIntersect.SVRect() );
pOutDev->Pop();
}