]> git.lyx.org Git - lyx.git/blobdiff - src/texstream.cpp
Only add inset postion to cache in paintInset
[lyx.git] / src / texstream.cpp
index 84fb060552b9da4044f9cb47906f8d3331828f2d..16f8dfbe68dee11acfa0a76fbf5e829d2f15ab6e 100644 (file)
@@ -29,6 +29,14 @@ using lyx::support::split;
 
 namespace lyx {
 
+
+void otexrowstream::append(docstring const & str, TexRow const & texrow)
+{
+       os_ << str;
+       texrow_.append(texrow);
+}
+
+
 void otexrowstream::put(char_type const & c)
 {
        os_.put(c);
@@ -36,6 +44,7 @@ void otexrowstream::put(char_type const & c)
                texrow_.newline();
 }
 
+
 void otexstream::put(char_type const & c)
 {
        if (protectspace_) {
@@ -206,6 +215,11 @@ template otexrowstream & operator<< <unsigned int>(otexrowstream &,
 template otexrowstream & operator<< <unsigned long>(otexrowstream &,
                                                                                                        unsigned long);
 
+#ifdef LYX_USE_LONG_LONG
+template otexrowstream & operator<< <unsigned long long>(otexrowstream &,
+                                                         unsigned long long);
+#endif
+
 
 template <typename Type>
 otexstream & operator<<(otexstream & ots, Type value)
@@ -221,5 +235,8 @@ template otexstream & operator<< <double>(otexstream &, double);
 template otexstream & operator<< <int>(otexstream &, int);
 template otexstream & operator<< <unsigned int>(otexstream &, unsigned int);
 template otexstream & operator<< <unsigned long>(otexstream &, unsigned long);
+#ifdef LYX_USE_LONG_LONG
+template otexstream & operator<< <unsigned long long>(otexstream &, unsigned long long);
+#endif
 
 }