]> git.lyx.org Git - lyx.git/blobdiff - src/lengthcommon.h
* Text3.cpp (doDispatch): fix the behaviour of word-delete-forward,
[lyx.git] / src / lengthcommon.h
index ff5d6f507927764ed8fc886d2aad151f6b79883e..4d4acc9bb3f14b25aed5d33523afb59fc85c2459 100644 (file)
 #ifndef LENGTH_COMMON_H
 #define LENGTH_COMMON_H
 
-#include "lyxlength.h"
+#include "Length.h"
+
+
+namespace lyx {
 
 
 /// the number of units possible
@@ -30,7 +33,10 @@ extern char const * const unit_name[];
 extern char const * const unit_name_gui[];
 
 /// return the unit given a string representation such as "cm"
-LyXLength::UNIT unitFromString(std::string const & data);
+Length::UNIT unitFromString(std::string const & data);
+
+
 
+} // namespace lyx
 
 #endif // LENGTH_COMMON_H