]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph_funcs.h
Fix MSVC warning
[lyx.git] / src / paragraph_funcs.h
index e41fc455e63bab4d7d13e1c06c81efde5c8d4ea6..33e9a3766bf043bfb151417ba7743c6eabedd539 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef PARAGRAPH_FUNCS_H
 #define PARAGRAPH_FUNCS_H
 
-#include "support/docstring.h"
+#include "support/strfwd.h"
 #include "support/types.h"
 
 
@@ -63,7 +63,7 @@ bool isFirstInSequence(pit_type par, ParagraphList const & plist);
 
 /** Set Label Width string to all paragraphs of the same layout
     and depth in a sequence */
-void setLabelWidthStringToSequence(pit_type par_offset,
+void setLabelWidthStringToSequence(pit_type const par_offset,
        ParagraphList & pars, docstring const & s);
 
 /** Check if the current paragraph is the last paragraph in a