From 039393e199a49b5158929668908f9cb1fe226484 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 24 Dec 2011 11:36:24 -0600 Subject: Rename a few stragglers --- kword/KWFrameSet.cpp | 2 +- kword/KWViewMode.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kword') diff --git a/kword/KWFrameSet.cpp b/kword/KWFrameSet.cpp index ec5cf7db..515b0df0 100644 --- a/kword/KWFrameSet.cpp +++ b/kword/KWFrameSet.cpp @@ -789,7 +789,7 @@ void KWFrameSet::drawFrame( KWFrame *frame, TQPainter *painter, const TQRect &fc doubleBufPainter->begin( pix ); // Initialize the pixmap to the page background color // (if the frame is over the page margins, no underlying frame will paint anything there) - doubleBufPainter->fillRect( 0, 0, outerCRect.width(), outerCRect.height(), TQApplication::tqpalette().active().brush( TQColorGroup::Base ) ); + doubleBufPainter->fillRect( 0, 0, outerCRect.width(), outerCRect.height(), TQApplication::palette().active().brush( TQColorGroup::Base ) ); // The double-buffer pixmap has (0,0) at outerCRect.topLeft(), so we need to // translate the double-buffer painter; drawFrameAndBorders will draw using view coordinates. diff --git a/kword/KWViewMode.cpp b/kword/KWViewMode.cpp index aba5d83c..b8249839 100644 --- a/kword/KWViewMode.cpp +++ b/kword/KWViewMode.cpp @@ -579,7 +579,7 @@ void KWViewModeText::setPageLayout( KoRuler* hRuler, KoRuler* vRuler, const KoPa layout.orientation = PG_PORTRAIT; TQSize cSize = contentsSize(); layout.ptWidth = m_doc->unzoomItX( cSize.width() ); - tqlayout.ptHeight = m_doc->unzoomItY( cSize.height() ); + layout.ptHeight = m_doc->unzoomItY( cSize.height() ); //kdDebug() << "KWViewModeText::setPageLayout layout size " << layout.ptWidth << "x" << layout.ptHeight << endl; layout.ptLeft = OFFSET; layout.ptRight = 0; -- cgit v1.2.1