From 0a9a730f9d0d9b57ba3d2745bd5ae6e6013d7fd7 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Sat, 1 Jul 2006 12:47:48 +0000 Subject: [PATCH] const svn path=/trunk/playground/graphics/okular/; revision=556728 --- core/utils.cpp | 2 +- core/utils.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/utils.cpp b/core/utils.cpp index cb957f856..d590e2a33 100644 --- a/core/utils.cpp +++ b/core/utils.cpp @@ -12,7 +12,7 @@ namespace okularUtils { -QRect rotateRect( QRect source, int width, int height, int orientation ) +QRect rotateRect( const QRect & source, int width, int height, int orientation ) { QRect ret; diff --git a/core/utils.h b/core/utils.h index dc020286d..966a27d81 100644 --- a/core/utils.h +++ b/core/utils.h @@ -23,7 +23,7 @@ namespace okularUtils * Rotate the rect \p source in the area \p width x \p height with the * specified \p orientation . */ - QRect OKULAR_EXPORT rotateRect( QRect source, int width, int height, int orientation ); + QRect OKULAR_EXPORT rotateRect( const QRect & source, int width, int height, int orientation ); };