]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph.C
*** empty log message ***
[lyx.git] / src / paragraph.C
index 80745161f20150c9eccb35ee135df76fd12affe2..91b7cad91abbac161cc528eec26b4d7576ec16c6 100644 (file)
@@ -1930,12 +1930,13 @@ string const Paragraph::asString(Buffer const * buffer, bool label)
 
 
 string const Paragraph::asString(Buffer const * buffer, 
-                           Paragraph::size_type beg,
-                           Paragraph::size_type end)
+                                Paragraph::size_type beg,
+                                Paragraph::size_type end,
+                                bool label)
 {
        ostringstream ost;
 
-       if (beg == 0 && !params().labelString().empty())
+       if (beg == 0 && label && !params().labelString().empty())
                ost << params().labelString() << ' ';
 
        for (Paragraph::size_type i = beg; i < end; ++i) {