summaryrefslogtreecommitdiffstats
path: root/kword/KWViewMode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWViewMode.cpp')
-rw-r--r--kword/KWViewMode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kword/KWViewMode.cpp b/kword/KWViewMode.cpp
index 6967e9685..02130dc09 100644
--- a/kword/KWViewMode.cpp
+++ b/kword/KWViewMode.cpp
@@ -280,10 +280,10 @@ void KWViewModeNormal::drawPageBorders( TQPainter * painter, const TQRect & crec
if ( crect.bottom() > topOfPage )
{
TQRect bottomArea( 0, topOfPage, crect.right() + 1, crect.bottom() - topOfPage + 1 );
- TQRect tqrepaintRect = bottomArea.intersect( crect );
- if ( !tqrepaintRect.isEmpty() )
+ TQRect repaintRect = bottomArea.intersect( crect );
+ if ( !repaintRect.isEmpty() )
{
- painter->fillRect( tqrepaintRect,
+ painter->fillRect( repaintRect,
TQApplication::tqpalette().active().brush( TQColorGroup::Mid ) );
// Draw a shadow
drawBottomShadow( painter, crect, pageRect, s_shadowOffset );