Commit 341ec7f9 authored by hjk's avatar hjk

AndroidManager: Remove more unused code missed earlier

Change-Id: Idbe281a55fd6a30b258686f7d384a9a8d5088ed1
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 5763dfca
......@@ -89,7 +89,6 @@ public:
typedef QMap<QString, Library> LibrariesMap;
static bool openXmlFile(QDomDocument &doc, const Utils::FileName &fileName);
static bool saveXmlFile(QDomDocument &doc, const Utils::FileName &fileName);
static bool openManifest(ProjectExplorer::Target *target, QDomDocument &doc);
static QStringList libsXml(ProjectExplorer::Target *target, const QString &tag);
......@@ -437,16 +436,6 @@ static bool openXmlFile(QDomDocument &doc, const Utils::FileName &fileName)
return true;
}
static bool saveXmlFile(QDomDocument &doc, const Utils::FileName &fileName)
{
QFile f(fileName.toString());
if (!f.open(QIODevice::WriteOnly)) {
raiseError(AndroidManager::tr("Cannot open \"%1\".").arg(fileName.toUserOutput()));
return false;
}
return f.write(doc.toByteArray(4)) >= 0;
}
static bool openManifest(ProjectExplorer::Target *target, QDomDocument &doc)
{
return openXmlFile(doc, AndroidManager::manifestPath(target));
......
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