]> git.lyx.org Git - features.git/commitdiff
Fix embarrassing logic mistake
authorGuillaume Munch <gm@lyx.org>
Wed, 3 Aug 2016 21:11:00 +0000 (22:11 +0100)
committerGuillaume Munch <gm@lyx.org>
Wed, 3 Aug 2016 21:17:26 +0000 (22:17 +0100)
Thanks Richard for pointing at it.

src/insets/ExternalTransforms.cpp

index 7ac41ab02d91058f26a34ad354feb52db123b661..e7c8cf66c317967c74d7ef39dfa3284c59482cb4 100644 (file)
@@ -338,7 +338,7 @@ void extractIt(boost::any const & any_factory,
                return;
 
        Factory factory = boost::any_cast<Factory>(any_factory);
-       if (!factory)
+       if (factory)
                transformer = factory(data);
 }