summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-07-01 21:28:55 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-07-01 21:28:55 +0000
commit98979d583f5e2ccb1472595b4cd86cbf1aaaf7cd (patch)
tree5840fc96189407de9a4e9a163822bcf54dff7cec
parentpatch to fix multiple ps and pdf problems by Ulf Erikson (diff)
downloadinkscape-98979d583f5e2ccb1472595b4cd86cbf1aaaf7cd.tar.gz
inkscape-98979d583f5e2ccb1472595b4cd86cbf1aaaf7cd.zip
remove text-to-path option for command line pdf export, it's not supported for now
(bzr r1332)
-rw-r--r--src/main.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 03aeebb40..c3d368bc5 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1053,24 +1053,7 @@ static void do_export_pdf(SPDocument* doc, gchar const* uri, char const* mime)
return;
}
- bool old_text_to_path = false;
-
- try {
- old_text_to_path = (*i)->get_param_bool("textToPath");
- (*i)->set_param_bool("textToPath", sp_export_text_to_path);
- }
- catch (...) {
- g_warning ("Could not set export-text-to-path option for this export.");
- }
-
(*i)->save(doc, uri);
-
- try {
- (*i)->set_param_bool("textToPath", old_text_to_path);
- }
- catch (...) {
-
- }
}
#ifdef WIN32