]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ExternalTemplate.cpp
Fix date inset except on windows (bug 9925)
[lyx.git] / src / insets / ExternalTemplate.cpp
index 4930a975439d53343955908315cec31d2b35da10..db12e68b8cb56c1ed97c283706cc2bc76cfad264 100644 (file)
@@ -19,7 +19,8 @@
 #include "support/filetools.h"
 #include "support/lstrings.h"
 #include "support/Package.h"
-#include "support/Path.h"
+#include "support/PathChanger.h"
+#include "support/Translator.h"
 
 #include <ostream>
 
@@ -385,12 +386,6 @@ void Template::readTemplate(Lexer & lex)
 
                case TO_END:
                        return;
-
-               default:
-                       lex.printError("external::Template::readTemplate: "
-                                      "Wrong tag: $$Token");
-                       LASSERT(false, /**/);
-                       break;
                }
        }
 }