summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2013-10-29 21:35:19 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2013-10-29 21:35:19 +0000
commit70a4eb83df77843d94cdb079d57705fd6c7a65af (patch)
treeb3f86e50d911b0e7a00063cc184474ff2f54a1bc /src
parentunits: fix stroke/gradient/whatever scaling when changing document unit in th... (diff)
downloadinkscape-70a4eb83df77843d94cdb079d57705fd6c7a65af.tar.gz
inkscape-70a4eb83df77843d94cdb079d57705fd6c7a65af.zip
saving units is not implemented yet, and noone should call the save method
(bzr r12750)
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;