]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetgraphicsParams.C
prevent crash when inserting minipage in table cell,
[lyx.git] / src / insets / insetgraphicsParams.C
index 60aae033ee6462561c2f6446f3ec56820fc0bf9b..12ab7177709bbfd5c069082726a9c8747dd604cc 100644 (file)
@@ -21,6 +21,7 @@
 #include "support/LOstream.h"
 #include "support/LAssert.h"
 #include "support/lstrings.h"
+#include "support/translator.h"
 #include "lyxrc.h"
 #include "debug.h"
 #include "lyxlex.h"
@@ -30,6 +31,13 @@ using namespace lyx::support;
 
 using std::ostream;
 
+namespace lyx {
+namespace graphics {
+/// The translator between the DisplayType and the corresponding lyx string.
+extern Translator<DisplayType, string> displayTranslator;
+}
+}
+
 
 InsetGraphicsParams::InsetGraphicsParams()
 {