]> git.lyx.org Git - lyx.git/blobdiff - src/factory.C
code cosmetics to the iterator fix
[lyx.git] / src / factory.C
index 591f8d6f04da06fd0f50903e7d5e52445706ca86..f642f4bd83d9d99a70904cde355b3676540710fe 100644 (file)
@@ -59,6 +59,7 @@
 #include "support/lstrings.h"
 
 #include <boost/assert.hpp>
+#include <boost/current_function.hpp>
 
 #include <sstream>
 
@@ -163,7 +164,7 @@ InsetBase * createInset(BufferView * bv, FuncRequest const & cmd)
        }
 
        case LFUN_TABULAR_INSERT: {
-               if (!cmd.argument.empty()) 
+               if (cmd.argument.empty()) 
                        return 0;
                std::istringstream ss(cmd.argument);
                int r = 0, c = 0;