X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FText.h;h=447900c43f4c8714befc159f059cd548169da87d;hb=67e61a395698fdfc8a50d2af593b1c2dd89ac018;hp=5ab0864d7f9f7831116124210e058cded51ec039;hpb=6daaf5388b35e88e85cd4c6d531514e764f1edc4;p=lyx.git diff --git a/src/Text.h b/src/Text.h index 5ab0864d7f..447900c43f 100644 --- a/src/Text.h +++ b/src/Text.h @@ -81,10 +81,10 @@ public: /// set layout over selection void setLayout(Buffer const & buffer, pit_type start, pit_type end, - std::string const & layout); + docstring const & layout); /// Set given layout to current cursor position. /// FIXME: replace Cursor with DocIterator. - void setLayout(Cursor & cur, std::string const & layout); + void setLayout(Cursor & cur, docstring const & layout); /// what type of depth change to make enum DEPTH_CHANGE {