X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferView.h;h=3cfd6239a3f1751899800fff6021ead6cc91a446;hb=7af6575cf6cd764b8b567b358907ac9a7a8e322b;hp=40dd0d29c352a4496ef0b3301b2910fda1c67226;hpb=6f8298b1658106c6536a6532af27822e74d41649;p=lyx.git diff --git a/src/BufferView.h b/src/BufferView.h index 40dd0d29c3..3cfd6239a3 100644 --- a/src/BufferView.h +++ b/src/BufferView.h @@ -238,7 +238,7 @@ public: /// request an X11 selection. /// \return the selected string. - docstring const requestSelection(); + docstring requestSelection(); /// clear the X11 selection. void clearSelection(); @@ -332,7 +332,7 @@ public: /// This signal is emitted when some dialog needs to be shown with /// some data. void showDialog(std::string const & name, std::string const & data, - Inset * inset = 0); + Inset * inset = nullptr); /// This signal is emitted when some dialogs needs to be updated. void updateDialog(std::string const & name, std::string const & data);