]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ExternalTransforms.h
Phantom is fragile (#9456)
[lyx.git] / src / insets / ExternalTransforms.h
index ce2c86ad44e0712fcc024e286509ba7e65c1c874..a43b45b312d5a569c68f025af8b53fef459524b3 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef EXTERNALTRANSFORMS_H
 #define EXTERNALTRANSFORMS_H
 
-#include "lyxlength.h"
+#include "Length.h"
 
 #include "graphics/GraphicsParams.h"
 
 #include <map>
 #include <memory>
 
-class LyXLex;
-
 namespace lyx {
+
+class Lexer;
+
 namespace external {
 
 /*
@@ -35,7 +36,7 @@ class ClipData {
 public:
        ClipData() : clip(false) {}
 
-       lyx::graphics::BoundingBox bbox;
+       graphics::BoundingBox bbox;
        bool clip;
 };
 
@@ -62,8 +63,8 @@ public:
        bool usingScale() const;
 
        std::string scale;
-       LyXLength width;
-       LyXLength height;
+       Length width;
+       Length height;
        bool keepAspectRatio;
 };
 
@@ -302,7 +303,6 @@ private:
  */
 std::string const sanitizeLatexOption(std::string const & input);
 std::string const sanitizeDocBookOption(std::string const & input);
-std::string const sanitizeLinuxDocOption(std::string const & input);
 
 
 enum TransformID {