From feeeb50a7370a063d3fe656faf32dd37289f6d03 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Thu, 28 Dec 2006 16:58:38 +0000 Subject: [PATCH] QString -> const QString& svn path=/trunk/playground/graphics/okular/; revision=617286 --- core/link.cpp | 2 +- core/link.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/link.cpp b/core/link.cpp index 80a160f83..a41e35f3f 100644 --- a/core/link.cpp +++ b/core/link.cpp @@ -25,7 +25,7 @@ QString Link::linkTip() const } // LinkGoto -LinkGoto::LinkGoto( QString fileName, const DocumentViewport & viewport ) +LinkGoto::LinkGoto( const QString& fileName, const DocumentViewport & viewport ) : m_extFileName( fileName ), m_vp( viewport ) { } diff --git a/core/link.h b/core/link.h index a1966cf23..3694e59a1 100644 --- a/core/link.h +++ b/core/link.h @@ -76,7 +76,7 @@ class OKULAR_EXPORT LinkGoto : public Link * @p fileName The name of an external file that shall be loaded. * @p viewport The target viewport information of the current document. */ - LinkGoto( QString fileName, const DocumentViewport & viewport ); + LinkGoto( const QString& fileName, const DocumentViewport & viewport ); /** * Returns the link type.