summaryrefslogtreecommitdiffstats
path: root/src/style-internal.cpp
diff options
context:
space:
mode:
authorAlexander Valavanis <valavanisalex@gmail.com>2019-05-27 10:35:12 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2019-05-27 10:35:12 +0000
commit05a6cdb8047e9ffedeb27ebc025ea7b700402e29 (patch)
treec3ad8fe529e8b9f4bbe444fc9db6b032f6c2bd87 /src/style-internal.cpp
parentMerge branch 'master' of gitlab.com:inkscape/inkscape (diff)
downloadinkscape-05a6cdb8047e9ffedeb27ebc025ea7b700402e29.tar.gz
inkscape-05a6cdb8047e9ffedeb27ebc025ea7b700402e29.zip
Hackfest2019: Rm tautological tests
Diffstat (limited to 'src/style-internal.cpp')
-rw-r--r--src/style-internal.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/style-internal.cpp b/src/style-internal.cpp
index beee8161d..e88cad5c0 100644
--- a/src/style-internal.cpp
+++ b/src/style-internal.cpp
@@ -377,7 +377,6 @@ SPILength::merge( const SPIBase* const parent ) {
switch (p->unit) {
case SP_CSS_UNIT_EM:
case SP_CSS_UNIT_EX:
- g_assert( &style->font_size != nullptr && &p->style->font_size != nullptr );
value *= p->style->font_size.computed / style->font_size.computed;
/** \todo
* FIXME: Have separate ex ratio parameter.