[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [calligra] sheets/odf: remove some unneeded warnings
From: Tomas Mecir <mecirt () gmail ! com>
Date: 2016-03-06 17:21:12
Message-ID: E1accMi-0005vS-M6 () scm ! kde ! org
[Download RAW message or body]
Git commit 4cc243ce3c53da9a6ec7fabf73f800e677f5b2fd by Tomas Mecir.
Committed on 27/02/2016 at 22:26.
Pushed by mecir into branch 'master'.
remove some unneeded warnings
M +0 -1 sheets/odf/SheetsOdfCell.cpp
M +0 -3 sheets/odf/SheetsOdfMap.cpp
M +0 -2 sheets/odf/SheetsOdfSheet.cpp
http://commits.kde.org/calligra/4cc243ce3c53da9a6ec7fabf73f800e677f5b2fd
diff --git a/sheets/odf/SheetsOdfCell.cpp b/sheets/odf/SheetsOdfCell.cpp
index a680384..02ad83a 100644
--- a/sheets/odf/SheetsOdfCell.cpp
+++ b/sheets/odf/SheetsOdfCell.cpp
@@ -821,7 +821,6 @@ ShapeLoadingData Odf::loadObject(Cell *cell, const KoXmlElement &element, KoShap
return data;
}
-#warning use new odf
Region endCell(loadRegion(shape->additionalAttribute("table:end-cell-address")),
cell->sheet()->map(), cell->sheet());
if (!endCell.isValid() || !endCell.isSingular())
diff --git a/sheets/odf/SheetsOdfMap.cpp b/sheets/odf/SheetsOdfMap.cpp
index 2a2bbed..e2bb39d 100644
--- a/sheets/odf/SheetsOdfMap.cpp
+++ b/sheets/odf/SheetsOdfMap.cpp
@@ -109,7 +109,6 @@ bool Odf::loadMap(Map *map, const KoXmlElement& body, KoOdfLoadingContext& odfCo
KoShapeLoadingContext shapeContext(tableContext.odfContext, map->resourceManager());
tableContext.shapeContext = &shapeContext;
KoTextSharedLoadingData * sharedData = new KoTextSharedLoadingData();
-#warning TODO new style odf
sharedData->loadOdfStyles(shapeContext, map->textStyleManager());
fixupStyle((KoCharacterStyle*)map->textStyleManager()->defaultParagraphStyle());
@@ -238,7 +237,6 @@ bool Odf::loadMap(Map *map, const KoXmlElement& body, KoOdfLoadingContext& odfCo
// Load databases. This needs the sheets to be loaded.
#warning TODO new style odf
map->databaseManager()->loadOdf(body); // table:database-ranges
-#warning TODO new style odf
loadNamedAreas(map->namedAreaManager(), body); // table:named-expressions
map->setLoading(false);
@@ -304,7 +302,6 @@ bool Odf::saveMap(Map *map, KoXmlWriter & xmlWriter, KoShapeSavingContext & savi
tableContext.valStyle.writeStyle(xmlWriter);
-#warning TODO new style odf
saveNamedAreas(map->namedAreaManager(), savingContext.xmlWriter());
#warning TODO new style odf
map->databaseManager()->saveOdf(savingContext.xmlWriter());
diff --git a/sheets/odf/SheetsOdfSheet.cpp b/sheets/odf/SheetsOdfSheet.cpp
index 287aa76..4212964 100644
--- a/sheets/odf/SheetsOdfSheet.cpp
+++ b/sheets/odf/SheetsOdfSheet.cpp
@@ -412,7 +412,6 @@ bool Odf::loadSheet(Sheet *sheet, const KoXmlElement& sheetElement, OdfLoadingCo
}
if (sheetElement.attributeNS(KoXmlNS::table, "protected", QString()) == "true") {
-#warning TODO new style odf
loadProtection(sheet, sheetElement);
}
return true;
@@ -1031,7 +1030,6 @@ bool Odf::saveSheet(Sheet *sheet, OdfSavingContext& tableContext)
const Region region(_printRange, sheet);
if (region.isValid()) {
debugSheetsODF << region;
-#warning TODO new style odf
xmlWriter.addAttribute("table:print-ranges", saveRegion(region.name()));
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic