]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.h
List currently used shortcuts in the shortcuts panel of the preference dialog
[lyx.git] / src / Paragraph.h
index 45e460a899e375a74903029d3657199cb86cb397..9059e2963afab2bddcc2f7721971a2d6bcbb2bc2 100644 (file)
@@ -20,7 +20,7 @@
 #include "InsetList.h"
 #include "lyxlayout_ptr_fwd.h"
 
-#include "insets/Inset.h" // only for InsetCode
+#include "insets/InsetCode.h"
 
 
 namespace lyx {
@@ -318,10 +318,8 @@ public:
        }
 
        ///
-       bool isHfill(pos_type pos) const {
-               return isInset(pos)
-                      && getInset(pos)->lyxCode() == HFILL_CODE;
-       }
+       bool isHfill(pos_type pos) const;
+
        /// hinted by profiler
        bool isInset(pos_type pos) const {
                return getChar(pos) == static_cast<value_type>(META_INSET);