From b77af00c5d29d7a88d976530d3354052344151aa Mon Sep 17 00:00:00 2001 From: Markus Engel Date: Mon, 31 Mar 2014 00:01:25 +0200 Subject: Removed some operator keywords. (bzr r13237) --- src/extension/internal/filter/color.h | 2 +- src/extension/system.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/extension') diff --git a/src/extension/internal/filter/color.h b/src/extension/internal/filter/color.h index 7059ad29b..19af6e969 100644 --- a/src/extension/internal/filter/color.h +++ b/src/extension/internal/filter/color.h @@ -941,7 +941,7 @@ Invert::get_filter_text (Inkscape::Extension::Extension * ext) std::ostringstream transparency; std::ostringstream hue; - if (ext->get_param_bool("hue") xor ext->get_param_bool("lightness")) { + if (ext->get_param_bool("hue") ^ ext->get_param_bool("lightness")) { hue << "\n"; } else { hue << ""; diff --git a/src/extension/system.cpp b/src/extension/system.cpp index 7a50826ca..c244d9c16 100644 --- a/src/extension/system.cpp +++ b/src/extension/system.cpp @@ -99,7 +99,7 @@ SPDocument *open(Extension *key, gchar const *filename) Inkscape::Preferences *prefs = Inkscape::Preferences::get(); bool ask = prefs->getBool("/dialogs/import/ask"); Glib::ustring id = Glib::ustring(imod->get_id(), 28); - if (!ask and id.compare( "org.inkscape.input.gdkpixbuf") == 0) { + if (!ask && id.compare( "org.inkscape.input.gdkpixbuf") == 0) { show = false; imod->set_gui(false); } -- cgit v1.2.3