#include "support/FileInfo.h"
#include "support/filetools.h"
#include "support/forkedcall.h"
+#include "support/lstrings.h"
+#include "support/lyxlib.h"
#include "support/path.h"
#include "support/path_defines.h"
+#include "support/os.h"
#include "support/systemcall.h"
-#include "support/lstrings.h"
#include <fstream>
#include <algorithm>
lyxrc.label_init_length < 0)
text.erase();
- string par_text = pit->asString(bv.buffer(), false);
+ string par_text = pit->asString(*bv.buffer(), false);
for (int i = 0; i < lyxrc.label_init_length; ++i) {
if (par_text.empty())
break;