summaryrefslogtreecommitdiffstats
path: root/src/extension/output.cpp
diff options
context:
space:
mode:
authorPeter Moulder <peter.moulder@monash.edu>2009-04-06 21:53:09 +0000
committerpjrm <pjrm@users.sourceforge.net>2009-04-06 21:53:09 +0000
commit56a755c65edfaf6ad3606f93da79937e9c0cab70 (patch)
tree09c171082863e539c7da6c9b68126acc79544522 /src/extension/output.cpp
parentfunctional noop: (EmfWin32::save): Remove an unneeded strdup operation. (diff)
downloadinkscape-56a755c65edfaf6ad3606f93da79937e9c0cab70.tar.gz
inkscape-56a755c65edfaf6ad3606f93da79937e9c0cab70.zip
noop: Rename argument from uri to filename for Extension::...::save implementations, given that that's how it's used at present.
Add a couple of fixme comments to do with use of this argument. (bzr r7637)
Diffstat (limited to 'src/extension/output.cpp')
-rw-r--r--src/extension/output.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extension/output.cpp b/src/extension/output.cpp
index e0070339d..e1481d000 100644
--- a/src/extension/output.cpp
+++ b/src/extension/output.cpp
@@ -200,7 +200,7 @@ Output::prefs (void)
\return None
\brief Save a document as a file
\param doc Document to save
- \param uri File to save the document as
+ \param filename File to save the document as
This function does a little of the dirty work involved in saving
a document so that the implementation only has to worry about geting
@@ -212,10 +212,10 @@ Output::prefs (void)
could be changed, and old files will still work properly.
*/
void
-Output::save (SPDocument * doc, const gchar * uri)
+Output::save(SPDocument *doc, gchar const *filename)
{
try {
- imp->save(this, doc, uri);
+ imp->save(this, doc, filename);
}
catch (...) {
g_warning("There was an error saving the file.");