diff --git a/src/insets/ExternalTransforms.cpp b/src/insets/ExternalTransforms.cpp index 7ac41ab02d..e7c8cf66c3 100644 --- a/src/insets/ExternalTransforms.cpp +++ b/src/insets/ExternalTransforms.cpp @@ -338,7 +338,7 @@ void extractIt(boost::any const & any_factory, return; Factory factory = boost::any_cast(any_factory); - if (!factory) + if (factory) transformer = factory(data); }