]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ExternalTransforms.cpp
Some things did not need to be mutable after all
[lyx.git] / src / insets / ExternalTransforms.cpp
index ee31e1911f3820b934912ab267e7cb46df7f1b57..7ac41ab02d91058f26a34ad354feb52db123b661 100644 (file)
@@ -338,7 +338,7 @@ void extractIt(boost::any const & any_factory,
                return;
 
        Factory factory = boost::any_cast<Factory>(any_factory);
-       if (!factory.empty())
+       if (!factory)
                transformer = factory(data);
 }