From acf7d13f377d08e9e9c97afb1088dfd403d234a4 Mon Sep 17 00:00:00 2001 From: jghali Date: Mon, 25 Jun 2012 20:19:28 +0000 Subject: fix more build warnings git-svn-id: svn://scribus.net/branches/Version14x/Scribus@17636 11d20701-8431-0410-a711-e3c959e3b870 --- .../fileloader/scribus134format/scribus134format.cpp | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'scribus/plugins/fileloader/scribus134format') diff --git a/scribus/plugins/fileloader/scribus134format/scribus134format.cpp b/scribus/plugins/fileloader/scribus134format/scribus134format.cpp index ce76c8a..ce4a598 100644 --- a/scribus/plugins/fileloader/scribus134format/scribus134format.cpp +++ b/scribus/plugins/fileloader/scribus134format/scribus134format.cpp @@ -182,7 +182,6 @@ bool Scribus134Format::loadFile(const QString & fileName, const FileFormat & /* struct ScribusDoc::BookMa bok; int counter;//, Pgc; //bool AtFl; - bool newVersion = false; QString tmp, tmpf, PgNam, Defont; QMap TableID; QList TableItems; @@ -230,8 +229,6 @@ bool Scribus134Format::loadFile(const QString & fileName, const FileFormat & /* QDomElement elem=docu.documentElement(); if (elem.tagName() != "SCRIBUSUTF8NEW") return false; - if (elem.hasAttribute("Version")) - newVersion = true; QDomNode DOC=elem.firstChild(); if (m_mwProgressBar!=0) { @@ -2766,9 +2763,8 @@ bool Scribus134Format::loadPage(const QString & fileName, int pageNumber, bool M QMap TableID; QList TableItems; QMap groupID; - int a, counter, baseobj; + int a, counter; double pageX = 0, pageY = 0; - bool newVersion = false; bool VorLFound = false; QMap layerTrans; int maxLayer = 0; @@ -2806,11 +2802,8 @@ bool Scribus134Format::loadPage(const QString & fileName, int pageNumber, bool M QDomElement elem=docu.documentElement(); if (elem.tagName() != "SCRIBUSUTF8NEW") return false; - if (elem.hasAttribute("Version")) - newVersion = true; QDomNode DOC=elem.firstChild(); counter = m_Doc->Items->count(); - baseobj = counter; // PrefsManager* prefsManager=PrefsManager::instance(); while(!DOC.isNull()) { @@ -3713,8 +3706,3 @@ bool Scribus134Format::readPageCount(const QString& fileName, int *num1, int *nu *num2 = counter2; return true; } - - - - - -- cgit