diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2009-08-09 16:43:14 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2009-08-09 16:43:14 +0000 |
| commit | 39559f543f4034819b2ccc3fccac1ef8c1b1b049 (patch) | |
| tree | a932f6020f2eb609e80c4647da7a86a40ae56982 /src/dialogs/export.cpp | |
| parent | Fix remaining glitches in the behaviour of the Save dialogs (w.r.t. rememberi... (diff) | |
| download | inkscape-39559f543f4034819b2ccc3fccac1ef8c1b1b049.tar.gz inkscape-39559f543f4034819b2ccc3fccac1ef8c1b1b049.zip | |
Cleanup (remove unused variable; use generic function to determine the file extension)
(bzr r8455)
Diffstat (limited to 'src/dialogs/export.cpp')
| -rw-r--r-- | src/dialogs/export.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp index 835003e5e..ee7852924 100644 --- a/src/dialogs/export.cpp +++ b/src/dialogs/export.cpp @@ -540,7 +540,7 @@ sp_export_dialog (void) gchar *name; SPDocument * doc = SP_ACTIVE_DOCUMENT; const gchar *uri = SP_DOCUMENT_URI (doc); - const gchar *text_extension = Inkscape::Preferences::get()->getString("/dialogs/save_as/default").c_str(); + const gchar *text_extension = get_file_save_extension (Inkscape::Extension::FILE_SAVE_METHOD_SAVE_AS).c_str(); Inkscape::Extension::Output * oextension = NULL; if (text_extension != NULL) { |
