summaryrefslogtreecommitdiffstats
path: root/src/svg
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-02-23 22:17:37 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-02-23 22:17:37 +0000
commited54c75dc7f31deae37ab89162da9127fb0e3b9a (patch)
treefe5809ff5f17199e7fa773cd47ef877b4a8125d3 /src/svg
parentAdded flexible/fixed to fillet chamfer and fix bugs (diff)
parenton a File->Open, set the viewBox if it did not previously exist, same as was ... (diff)
downloadinkscape-ed54c75dc7f31deae37ab89162da9127fb0e3b9a.tar.gz
inkscape-ed54c75dc7f31deae37ab89162da9127fb0e3b9a.zip
update to trunk
(bzr r13645.1.21)
Diffstat (limited to 'src/svg')
-rw-r--r--src/svg/svg-length-test.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/svg/svg-length-test.h b/src/svg/svg-length-test.h
index 796943e45..0dac4854a 100644
--- a/src/svg/svg-length-test.h
+++ b/src/svg/svg-length-test.h
@@ -102,7 +102,10 @@ public:
for ( int i = (static_cast<int>(SVGLength::NONE) + 1); i <= static_cast<int>(SVGLength::LAST_UNIT); i++ ) {
SVGLength::Unit target = static_cast<SVGLength::Unit>(i);
// PX is a special case where we don't have a unit string
- if ( (target != SVGLength::PX) && (target != SVGLength::FOOT) ) {
+ // FOOT and MITRE are not CSS/SVG Units
+ if ( (target != SVGLength::PX) &&
+ (target != SVGLength::FOOT) &&
+ (target != SVGLength::MITRE) ) {
gchar const* val = sp_svg_length_get_css_units(target);
TSM_ASSERT_DIFFERS(i, val, "");
}