X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftexrow.h;h=2ee432f6af84aac3d18de945518016e00c4bf3d6;hb=5d3718cad2a2ef6a4d6a495054ab0705ba27b6b5;hp=d35c7a57a95dd78aa01209caa2126673d378cfb3;hpb=50a25e9a76d753f5229b4fca1076e242a99af467;p=lyx.git diff --git a/src/texrow.h b/src/texrow.h index d35c7a57a9..2ee432f6af 100644 --- a/src/texrow.h +++ b/src/texrow.h @@ -11,10 +11,6 @@ #ifndef TEXROW_H #define TEXROW_H -#ifdef __GNUG__ -#pragma interface -#endif - #include class Paragraph; @@ -54,7 +50,7 @@ public: /// an individual id/pos <=> row mapping class RowItem { public: - RowItem(int id, int pos, int row) + RowItem(int id, int pos, int row) : id_(id), pos_(pos), rownumber_(row) {} @@ -62,7 +58,7 @@ public: int id() const { return id_; } - + /// set paragraph position void pos(int p) { pos_ = p; @@ -98,5 +94,5 @@ private: /// Last position int lastpos; }; - + #endif // TEXROW_H