summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrSideBar.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 18:11:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-03 19:23:45 +0900
commit0bd9d5459891e6fb17ee6802878f85e217cb9f54 (patch)
tree962f6ea26d1fab041fe3476fbbd64132ab8ada1b /kpresenter/KPrSideBar.cpp
parentcb258b7e39ffa5662b57e7d9006e69172a378d7e (diff)
downloadkoffice-r14.1.4.tar.gz
koffice-r14.1.4.zip
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit cf85b9c285a2b9baa87c9d0cb9d683b48e82a475)
Diffstat (limited to 'kpresenter/KPrSideBar.cpp')
-rw-r--r--kpresenter/KPrSideBar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kpresenter/KPrSideBar.cpp b/kpresenter/KPrSideBar.cpp
index 9917f97d5..d3b6d7929 100644
--- a/kpresenter/KPrSideBar.cpp
+++ b/kpresenter/KPrSideBar.cpp
@@ -265,7 +265,7 @@ void KPrThumbBar::setCurrentPage( int pg )
if ( it->text().toInt() - 1 == pg ) {
blockSignals( true );
setCurrentItem( it );
- setSelected( it, FALSE ); // to avoid the blue "selected"-mark
+ setSelected( it, false ); // to avoid the blue "selected"-mark
ensureItemVisible(it);
refreshItems();
blockSignals( false );
@@ -283,7 +283,7 @@ TQRect KPrThumbBar::tip(const TQPoint &pos, TQString &title)
int pagenr = item->index();
title = m_doc->pageList().at(pagenr)->pageTitle();
- TQRect r = item->pixmapRect(FALSE);
+ TQRect r = item->pixmapRect(false);
r = TQRect(contentsToViewport(TQPoint(r.x(), r.y())), TQSize(r.width(), r.height()));
return r;
}