diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-24 11:36:24 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-24 11:36:24 -0600 |
commit | 039393e199a49b5158929668908f9cb1fe226484 (patch) | |
tree | d7aec29ab26866737b6786073bba888af62cb1bf /kword | |
parent | 2d6954f69caf63ed5057bd8e1405a65d7d970292 (diff) | |
download | koffice-039393e199a49b5158929668908f9cb1fe226484.tar.gz koffice-039393e199a49b5158929668908f9cb1fe226484.zip |
Rename a few stragglers
Diffstat (limited to 'kword')
-rw-r--r-- | kword/KWFrameSet.cpp | 2 | ||||
-rw-r--r-- | kword/KWViewMode.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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; |