Commit 59a06e7d authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

KPDFLinkBrowse( QString url ) { m_url = url; } -> KPDFLinkBrowse( const...

KPDFLinkBrowse( QString url ) { m_url = url; } -> KPDFLinkBrowse( const QString &url ) { m_url = url; }
Comment a unused variable so we don't get the warning

svn path=/trunk/kdegraphics/kpdf/; revision=376907
parent 7713a206
...@@ -78,7 +78,7 @@ class KPDFLinkBrowse : public KPDFLink ...@@ -78,7 +78,7 @@ class KPDFLinkBrowse : public KPDFLink
const QString & url() const { return m_url; } const QString & url() const { return m_url; }
// create a KPDFLink_Browse // create a KPDFLink_Browse
KPDFLinkBrowse( QString url ) { m_url = url; } KPDFLinkBrowse( const QString &url ) { m_url = url; }
LinkType linkType() const { return Browse; } LinkType linkType() const { return Browse; }
private: private:
......
...@@ -908,7 +908,7 @@ void GlobalParams::setupBaseFonts(char *dir) { ...@@ -908,7 +908,7 @@ void GlobalParams::setupBaseFonts(char *dir) {
GString *fileName; GString *fileName;
FILE *f; FILE *f;
DisplayFontParam *dfp; DisplayFontParam *dfp;
int i, j; int i/*, j*/;
for (i = 0; displayFontTab[i].name; ++i) { for (i = 0; displayFontTab[i].name; ++i) {
fontName = new GString(displayFontTab[i].name); fontName = new GString(displayFontTab[i].name);
......
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