summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/units.cpp7
-rw-r--r--src/util/units.h4
2 files changed, 6 insertions, 5 deletions
diff --git a/src/util/units.cpp b/src/util/units.cpp
index 61e7335ad..40cce028d 100644
--- a/src/util/units.cpp
+++ b/src/util/units.cpp
@@ -362,12 +362,13 @@ bool UnitTable::load(std::string const &filename) {
return true;
}
-bool UnitTable::save(std::string const &/*filename*/) {
-
+/*
+bool UnitTable::save(std::string const &filename) {
g_warning("UnitTable::save(): not implemented");
- return true;
+ return false;
}
+*/
Inkscape::Util::UnitTable unit_table;
diff --git a/src/util/units.h b/src/util/units.h
index e1addaa24..597371369 100644
--- a/src/util/units.h
+++ b/src/util/units.h
@@ -168,8 +168,8 @@ public:
*/
bool load(std::string const &filename);
- /** Saves the current UnitTable to the given file. */
- bool save(std::string const &filename);
+ /* * Saves the current UnitTable to the given file. */
+ //bool save(std::string const &filename);
protected:
UnitCodeMap _unit_map;