]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsTypes.C
If the graphics loader has a copy c-tor it should have copy assignment that does...
[lyx.git] / src / graphics / GraphicsTypes.C
index 00ef8a47ab575715b433c5101a28ea8a8dfe9d2f..423e5da2fa2cdc9bb0be2fe0eca401af8ed6922c 100644 (file)
@@ -1,19 +1,23 @@
 // -*- C++ -*-
 /**
  *  \file GraphicsTypes.C
- *  Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  *  \author Rob Lahaye
  *
  * Full author contact details available in file CREDITS
  */
 
+#include <config.h>
+
 #include "graphics/GraphicsTypes.h"
 
+
 namespace grfx {
 
 /// The translator between the Display enum and corresponding lyx string.
-Translator< DisplayType, string > displayTranslator(DefaultDisplay, "default");
+Translator<DisplayType, string> displayTranslator(DefaultDisplay, "default");
 
 void setDisplayTranslator()
 {
@@ -29,7 +33,7 @@ void setDisplayTranslator()
                displayTranslator.addPair(GrayscaleDisplay, "grayscale");
                displayTranslator.addPair(ColorDisplay, "color");
                displayTranslator.addPair(NoDisplay, "none");
-               
+
                // backward compatibility for old lyxrc.display_graphics
                displayTranslator.addPair(MonochromeDisplay, "mono");
                displayTranslator.addPair(GrayscaleDisplay, "gray");