diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2014-06-29 20:00:26 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2014-06-29 20:00:26 +0000 |
| commit | fe738c88996ee6bc050b8cff8d1efc84fefe3787 (patch) | |
| tree | df5e2e8c079dcc82fae6a67ff30c7ff44ff05150 /src | |
| parent | Enable rendering of new filter blend modes (but don't add them to GUI). (diff) | |
| download | inkscape-fe738c88996ee6bc050b8cff8d1efc84fefe3787.tar.gz inkscape-fe738c88996ee6bc050b8cff8d1efc84fefe3787.zip | |
noop: fix bool type (C to C++)
(bzr r13341.1.71)
Diffstat (limited to 'src')
| -rw-r--r-- | src/file.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/file.cpp b/src/file.cpp index 51e629c7d..d8671c5d5 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -669,7 +669,7 @@ file_save(Gtk::Window &parentWindow, SPDocument *doc, const Glib::ustring &uri, sp_ui_error_dialog(text); g_free(text); g_free(safeUri); - return FALSE; + return false; } catch (Inkscape::Extension::Output::file_read_only &e) { gchar *safeUri = Inkscape::IO::sanitizeString(uri.c_str()); gchar *text = g_strdup_printf(_("File %s is write protected. Please remove write protection and try again."), safeUri); @@ -677,7 +677,7 @@ file_save(Gtk::Window &parentWindow, SPDocument *doc, const Glib::ustring &uri, sp_ui_error_dialog(text); g_free(text); g_free(safeUri); - return FALSE; + return false; } catch (Inkscape::Extension::Output::save_failed &e) { gchar *safeUri = Inkscape::IO::sanitizeString(uri.c_str()); gchar *text = g_strdup_printf(_("File %s could not be saved."), safeUri); @@ -685,15 +685,15 @@ file_save(Gtk::Window &parentWindow, SPDocument *doc, const Glib::ustring &uri, sp_ui_error_dialog(text); g_free(text); g_free(safeUri); - return FALSE; + return false; } catch (Inkscape::Extension::Output::save_cancelled &e) { SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("Document not saved.")); - return FALSE; + return false; } catch (Inkscape::Extension::Output::no_overwrite &e) { return sp_file_save_dialog(parentWindow, doc, save_method); } catch (...) { SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("Document not saved.")); - return FALSE; + return false; } if (SP_ACTIVE_DESKTOP) { |
