diff options
author | Tomaž Vajngerl <quikee@gmail.com> | 2014-02-04 11:19:42 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2014-02-06 09:26:47 +0100 |
commit | fb99a6b9958815eb1ad27179d252a379ce8b79fd (patch) | |
tree | d40212c66c27e802d027b7cfb73ca46471855275 /sw/source/core/text/frmpaint.cxx | |
parent | 0502a09431602baa9a8280b87b77df9ad04e94bc (diff) |
fdo#68071 NPC characters now use a fixed color.
The color for non-printing characters (enable with CTRL+F10) has
now been changed to a fixed color.
Change-Id: I93dfc69fa4be1c1f1373f25434c8f4afa71355d3
Diffstat (limited to 'sw/source/core/text/frmpaint.cxx')
-rw-r--r-- | sw/source/core/text/frmpaint.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/text/frmpaint.cxx b/sw/source/core/text/frmpaint.cxx index 422a0496b9f4..358d134be5d3 100644 --- a/sw/source/core/text/frmpaint.cxx +++ b/sw/source/core/text/frmpaint.cxx @@ -560,6 +560,7 @@ sal_Bool SwTxtFrm::PaintEmpty( const SwRect &rRect, sal_Bool bCheck ) const aDrawInf.SetFont( pFnt ); aDrawInf.SetSnapToGrid( sal_False ); + pFnt->SetColor(NON_PRINTING_CHARACTER_COLOR); pFnt->_DrawText( aDrawInf ); } delete pClip; |