X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FExternalTransforms.cpp;h=e7c8cf66c317967c74d7ef39dfa3284c59482cb4;hb=421853d1bf021b7180a61d8c2908ede2dce48061;hp=7ac41ab02d91058f26a34ad354feb52db123b661;hpb=489dca71cd99bbc78780fa40311a2eb042c0320e;p=lyx.git 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); }