#include "bufferview_funcs.h"
-#include "Author.h"
#include "Buffer.h"
#include "BufferParams.h"
#include "BufferView.h"
#include <sstream>
-
-namespace lyx {
-
-using support::bformat;
-
using std::istringstream;
using std::ostringstream;
using std::string;
using std::find;
+namespace lyx {
+
+using support::bformat;
+
namespace bv_funcs {
// Set data using font and toggle
// of xx:yy
if (sl.text()) {
bool boundary_i = boundary && i + 1 == dit.depth();
- bool rtl = sl.text()->isRTL(*bv.buffer(), sl, boundary_i);
+ bool rtl = sl.text()->isRTL(bv.buffer(), sl, boundary_i);
if (rtl)
x -= lastw;
}
// In the RTL case place the nested inset at the left of the cursor in
// the outer paragraph
bool boundary_1 = boundary && 1 == dit.depth();
- bool rtl = dit.bottom().text()->isRTL(*bv.buffer(), dit.bottom(), boundary_1);
+ bool rtl = dit.bottom().text()->isRTL(bv.buffer(), dit.bottom(), boundary_1);
if (rtl)
x -= lastw;