X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffactory.C;h=f642f4bd83d9d99a70904cde355b3676540710fe;hb=414a11684e77aee713135ae65ec7438cfc4b162f;hp=591f8d6f04da06fd0f50903e7d5e52445706ca86;hpb=282f86fbb1ec7a877cdd05f25edbf468ae06595d;p=lyx.git diff --git a/src/factory.C b/src/factory.C index 591f8d6f04..f642f4bd83 100644 --- a/src/factory.C +++ b/src/factory.C @@ -59,6 +59,7 @@ #include "support/lstrings.h" #include +#include #include @@ -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;