Commit 0a9a730f authored by Pino Toscano's avatar Pino Toscano
Browse files

const

svn path=/trunk/playground/graphics/okular/; revision=556728
parent c82fed6d
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
namespace okularUtils 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; QRect ret;
......
...@@ -23,7 +23,7 @@ namespace okularUtils ...@@ -23,7 +23,7 @@ namespace okularUtils
* Rotate the rect \p source in the area \p width x \p height with the * Rotate the rect \p source in the area \p width x \p height with the
* specified \p orientation . * 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 );
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment